[llvm-commits] CVS: llvm/include/Support/DataTypes.h

Chris Lattner lattner at cs.uiuc.edu
Fri Sep 13 10:39:01 PDT 2002


Changes in directory llvm/include/Support:

DataTypes.h updated: 1.2 -> 1.3

---
Log message:

Add better linux support by using the right macro.  This still should be
autoconfiscated, but for now this is sufficient.


---
Diffs of the changes:

Index: llvm/include/Support/DataTypes.h
diff -u llvm/include/Support/DataTypes.h:1.2 llvm/include/Support/DataTypes.h:1.3
--- llvm/include/Support/DataTypes.h:1.2	Thu May 23 10:48:12 2002
+++ llvm/include/Support/DataTypes.h	Fri Sep 13 10:37:58 2002
@@ -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>





More information about the llvm-commits mailing list