[llvm-commits] CVS: llvm/include/Support/DataTypes.h
Chris Lattner
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
---
Log message:
Remove ENDIAN_* support. LLVM does not need it anymore.
---
Diffs of the changes: (+0 -9)
Index: llvm/include/Support/DataTypes.h
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 @@
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
-#endif
-
-#if (defined(ENDIAN_LITTLE) && defined(ENDIAN_BIG))
-#error "Cannot define both ENDIAN_LITTLE and ENDIAN_BIG!"
-#endif
-
-#if (!defined(ENDIAN_LITTLE) && !defined(ENDIAN_BIG))
-#error "include/Support/DataTypes.h could not determine endianness!"
#endif
#if !defined(INT64_MAX)
More information about the llvm-commits
mailing list