aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/Unix/Host.inc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Support/Unix/Host.inc')
-rw-r--r--lib/Support/Unix/Host.inc9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/Support/Unix/Host.inc b/lib/Support/Unix/Host.inc
index c5de97f73c..dda3ce2c6f 100644
--- a/lib/Support/Unix/Host.inc
+++ b/lib/Support/Unix/Host.inc
@@ -29,15 +29,6 @@ using namespace llvm;
static std::string getOSVersion() {
struct utsname info;
-#ifdef __APPLE__
- // 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;
-#endif // __APPLE__
-
if (uname(&info))
return "";