Remove ENDIAN_* support. LLVM does not need it anymore.
authorChris Lattner <sabre@nondot.org>
Thu, 15 Jan 2004 06:13:58 +0000 (06:13 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 15 Jan 2004 06:13:58 +0000 (06:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10872 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/DataTypes.h

index 4904bb31daa9d0243637896ec022d0d96ca3fa76..a93919d0f68da3c8598d5d5bc78e71a3a7350f49 100644 (file)
@@ -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
 #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)
 /* We couldn't determine INT64_MAX; default it. */
 #define INT64_MAX 9223372036854775807LL