[llvm-commits] CVS: llvm/include/Support/DataTypes.h
lattner at cs.uiuc.edu
Thu Jan 15 00:15:02 PST 2004
Changes in directory llvm/include/Support:
DataTypes.h updated: 1.17 -> 1.18
Remove ENDIAN_* support. LLVM does not need it anymore.
Diffs of the changes: (+0 -9)
diff -u llvm/include/Support/DataTypes.h:1.17 llvm/include/Support/DataTypes.h:1.18
--- llvm/include/Support/DataTypes.h:1.17 Tue Oct 28 22:25:48 2003
+++ llvm/include/Support/DataTypes.h Thu Jan 15 00:13:58 2004
@@ -11,7 +11,6 @@
// This file is important because different host OS's define different macros,
// which makes portability tough. This file exports the following definitions:
-// ENDIAN_LITTLE : is #define'd if the host is little endian
// int64_t : is a typedef for the signed 64 bit system type
// uint64_t : is a typedef for the unsigned 64 bit system type
// INT64_MAX : is a #define specifying the max value for int64_t's
@@ -40,14 +39,6 @@
-#if (defined(ENDIAN_LITTLE) && defined(ENDIAN_BIG))
-#error "Cannot define both ENDIAN_LITTLE and ENDIAN_BIG!"
-#if (!defined(ENDIAN_LITTLE) && !defined(ENDIAN_BIG))
-#error "include/Support/DataTypes.h could not determine endianness!"
More information about the llvm-commits