diff options
author | Geunsik Lim <geunsik.lim@samsung.com> | 2016-03-05 12:05:12 +0900 |
---|---|---|
committer | Geunsik Lim <geunsik.lim@samsung.com> | 2016-03-05 12:05:12 +0900 |
commit | 6f7aa7967c607b8c667518314ab937c0d7547025 (patch) | |
tree | 862907da843c17744e5f3cb659d61f175d927afb /src/pal/inc/pal_mstypes.h | |
parent | 34e1fad44ec969a85db8464eaab3c13b406cb5a2 (diff) | |
download | coreclr-6f7aa7967c607b8c667518314ab937c0d7547025.tar.gz coreclr-6f7aa7967c607b8c667518314ab937c0d7547025.tar.bz2 coreclr-6f7aa7967c607b8c667518314ab937c0d7547025.zip |
Replace all uses of __LINUX__ with the lower case
According to https://sourceforge.net/p/predef/wiki/OperatingSystems/
(Pre-defined Compiler Macros) and http://www.faqs.org/docs/Linux-HOWTO/GCC-HOWTO.html
(Porting and compiling:Automatically defined symbols), the __linux__ marcro is the
right way to detect systems based on the Linux kernel and is the POSIX compliant.
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Diffstat (limited to 'src/pal/inc/pal_mstypes.h')
-rw-r--r-- | src/pal/inc/pal_mstypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pal/inc/pal_mstypes.h b/src/pal/inc/pal_mstypes.h index aa72d66072..df17767747 100644 --- a/src/pal/inc/pal_mstypes.h +++ b/src/pal/inc/pal_mstypes.h @@ -571,7 +571,7 @@ typedef LONG_PTR SSIZE_T, *PSSIZE_T; #endif #ifndef PAL_STDCPP_COMPAT -#if defined(__APPLE_CC__) || defined(__LINUX__) +#if defined(__APPLE_CC__) || defined(__linux__) #ifdef BIT64 typedef unsigned long size_t; typedef long ptrdiff_t; @@ -608,7 +608,7 @@ typedef char16_t WCHAR; #else // PAL_STDCPP_COMPAT typedef wchar_t WCHAR; -#if defined(__LINUX__) +#if defined(__linux__) #ifdef BIT64 typedef long int intptr_t; typedef unsigned long int uintptr_t; |