1
0
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:
Bob Wilson 2011-08-10 05:02:22 +00:00
parent 4a938add93
commit ee1be855d2

View File

@ -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;