Add better linux support by using the right macro. This still should be
authorChris Lattner <sabre@nondot.org>
Fri, 13 Sep 2002 15:37:58 +0000 (15:37 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Sep 2002 15:37:58 +0000 (15:37 +0000)
autoconfiscated, but for now this is sufficient.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3701 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/DataTypes.h

index b46135197ffb46f012cb972ed49fa526650df388..b1b88790ac6bf89e89e3ace367109261e9c9dc4c 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <inttypes.h>
 
-#ifdef LINUX
+#ifdef __linux__
 #define __STDC_LIMIT_MACROS 1
 #include <stdint.h>       // Defined by ISO C 99
 #include <endian.h>