[llvm-commits] CVS: llvm/include/Support/DataTypes.h
Chris Lattner
lattner at cs.uiuc.edu
Fri Sep 13 17:19:01 PDT 2002
Changes in directory llvm/include/Support:
DataTypes.h updated: 1.4 -> 1.5
---
Log message:
Tighten up sanity checking
---
Diffs of the changes:
Index: llvm/include/Support/DataTypes.h
diff -u llvm/include/Support/DataTypes.h:1.4 llvm/include/Support/DataTypes.h:1.5
--- llvm/include/Support/DataTypes.h:1.4 Fri Sep 13 16:51:25 2002
+++ llvm/include/Support/DataTypes.h Fri Sep 13 17:18:26 2002
@@ -35,10 +35,8 @@
#endif
#endif
-#ifndef LITTLE_ENDIAN
-#if !defined(BIG_ENDIAN) || !defined(INT64_MAX)
+#if (!defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN)) || !defined(INT64_MAX)
#error "include/Support/DataTypes.h could not determine endianness!"
-#endif
#endif
#endif /* LLVM_SUPPORT_DATATYPES_H */
More information about the llvm-commits
mailing list