From 6f7aa7967c607b8c667518314ab937c0d7547025 Mon Sep 17 00:00:00 2001 From: Geunsik Lim Date: Sat, 5 Mar 2016 12:05:12 +0900 Subject: 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 Signed-off-by: MyungJoo Ham --- CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 20a167eea4..4815662d32 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -293,7 +293,6 @@ if (CLR_CMAKE_PLATFORM_UNIX) add_definitions(-DPLATFORM_UNIX=1) if(CLR_CMAKE_PLATFORM_LINUX) - add_definitions(-D__LINUX__=1) if(CLR_CMAKE_PLATFORM_UNIX_TARGET_AMD64) message("Detected Linux x86_64") add_definitions(-DLINUX64) -- cgit v1.2.3