mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Clarify a comment.
llvm-svn: 137204
This commit is contained in:
parent
4a938add93
commit
ee1be855d2
@ -30,7 +30,9 @@ static std::string getOSVersion() {
|
||||
struct utsname info;
|
||||
|
||||
#ifdef __APPLE__
|
||||
// Recognize UNAME_RELEASE environment variable to match Darwin uname.
|
||||
// Recognize UNAME_RELEASE environment variable to match Darwin's uname,
|
||||
// where the value of this variable sets the OS release version
|
||||
// reported by "uname -r".
|
||||
const char *UnameOverride = ::getenv("UNAME_RELEASE");
|
||||
if (UnameOverride && UnameOverride[0] != '\0')
|
||||
return UnameOverride;
|
||||
|
Loading…
Reference in New Issue
Block a user