diff options
Diffstat (limited to 'lib/System')
-rw-r--r-- | lib/System/Unix/Host.inc | 4 | ||||
-rw-r--r-- | lib/System/Win32/Host.inc | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/System/Unix/Host.inc b/lib/System/Unix/Host.inc index 7bee66fd0d..205ce2362c 100644 --- a/lib/System/Unix/Host.inc +++ b/lib/System/Unix/Host.inc @@ -23,7 +23,7 @@ using namespace llvm; -std::string llvm::sys::osName() { +std::string llvm::sys::getOSName() { struct utsname info; if (uname(&info)) @@ -32,7 +32,7 @@ std::string llvm::sys::osName() { return info.sysname; } -std::string llvm::sys::osVersion() { +std::string llvm::sys::getOSVersion() { struct utsname info; if (uname(&info)) diff --git a/lib/System/Win32/Host.inc b/lib/System/Win32/Host.inc index 7bbf2bd346..4fabc78ade 100644 --- a/lib/System/Win32/Host.inc +++ b/lib/System/Win32/Host.inc @@ -17,11 +17,11 @@ using namespace llvm; -std::string sys::osName() { +std::string sys::getOSName() { return "Windows"; } -std::string sys::osVersion() { +std::string sys::getOSVersion() { OSVERSIONINFO osvi; memset(&osvi, 0, sizeof(osvi)); |