Removed raw references to __sun__, __FreeBSD__, __GLIBC__ and __linux__; now just check to see if they are defined.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177310 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2013-03-18 19:34:07 +00:00
parent dab9b2eb32
commit 53e2763966
4 changed files with 13 additions and 13 deletions

View File

@@ -14,7 +14,7 @@
#include "limits"
#include <sys/types.h>
#if !defined(_WIN32)
#if !__sun__ && !__linux__
#if !defined(__sun__) && !defined(__linux__)
#include <sys/sysctl.h>
#else
#include <unistd.h>