Clarify a comment.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137204 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bob Wilson 2011-08-10 05:02:22 +00:00
parent 39f40299a6
commit 21ab6c066d

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;