From 527bd079344a60668b97cc50f3c77ed55ca463ac Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Wed, 10 Aug 2011 05:02:22 +0000 Subject: Clarify a comment. llvm-svn: 137204 --- llvm/lib/Support/Unix/Host.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'llvm/lib/Support/Unix') diff --git a/llvm/lib/Support/Unix/Host.inc b/llvm/lib/Support/Unix/Host.inc index 744fb9e6996..c5de97f73c9 100644 --- a/llvm/lib/Support/Unix/Host.inc +++ b/llvm/lib/Support/Unix/Host.inc @@ -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; -- cgit v1.2.3