summaryrefslogtreecommitdiff
path: root/src/pal/src/init
diff options
context:
space:
mode:
authorGeunsik Lim <geunsik.lim@samsung.com>2016-03-05 12:05:12 +0900
committerGeunsik Lim <geunsik.lim@samsung.com>2016-03-05 12:05:12 +0900
commit6f7aa7967c607b8c667518314ab937c0d7547025 (patch)
tree862907da843c17744e5f3cb659d61f175d927afb /src/pal/src/init
parent34e1fad44ec969a85db8464eaab3c13b406cb5a2 (diff)
downloadcoreclr-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/src/init')
-rw-r--r--src/pal/src/init/pal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/src/init/pal.cpp b/src/pal/src/init/pal.cpp
index 10871aadaa..0855a00cee 100644
--- a/src/pal/src/init/pal.cpp
+++ b/src/pal/src/init/pal.cpp
@@ -670,7 +670,7 @@ BOOL
PALAPI
PAL_IsDebuggerPresent()
{
-#if defined(__LINUX__)
+#if defined(__linux__)
BOOL debugger_present = FALSE;
char buf[2048];