mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
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:
parent
39f40299a6
commit
21ab6c066d
@ -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