[llvm-commits] CVS: llvm/include/Support/DataTypes.h
vadve at cs.uiuc.edu
vadve at cs.uiuc.edu
Sat Sep 14 05:44:01 PDT 2002
Changes in directory llvm/include/Support:
DataTypes.h updated: 1.5 -> 1.6
---
Log message:
Add support for MacOS and (hopefully) other BSD derivatives.
---
Diffs of the changes:
Index: llvm/include/Support/DataTypes.h
diff -u llvm/include/Support/DataTypes.h:1.5 llvm/include/Support/DataTypes.h:1.6
--- llvm/include/Support/DataTypes.h:1.5 Fri Sep 13 17:18:26 2002
+++ llvm/include/Support/DataTypes.h Sat Sep 14 05:42:59 2002
@@ -23,7 +23,11 @@
#include <inttypes.h>
#ifdef __linux__
-#include <endian.h>
+# include <endian.h>
+#else
+#if (BSD >= 199103)
+# include <machine/endian.h>
+#endif
#endif
#ifdef __sparc__
More information about the llvm-commits
mailing list