aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-13 15:37:58 +0000
committerChris Lattner <sabre@nondot.org>2002-09-13 15:37:58 +0000
commitff7f701a95cc88bd107de6b9082e398106482111 (patch)
treedfdf1fca638e34e9637c4da8e5907209692bbce7 /include
parent7c97cee26a25f398c31be7f8853d363410f6a31e (diff)
downloadexternal_llvm-ff7f701a95cc88bd107de6b9082e398106482111.zip
external_llvm-ff7f701a95cc88bd107de6b9082e398106482111.tar.gz
external_llvm-ff7f701a95cc88bd107de6b9082e398106482111.tar.bz2
Add better linux support by using the right macro. This still should be
autoconfiscated, but for now this is sufficient. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3701 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/Support/DataTypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Support/DataTypes.h b/include/Support/DataTypes.h
index b461351..b1b8879 100644
--- a/include/Support/DataTypes.h
+++ b/include/Support/DataTypes.h
@@ -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>