aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-01-15 06:13:58 +0000
committerChris Lattner <sabre@nondot.org>2004-01-15 06:13:58 +0000
commit88fc1b0a6f179016d5e3f40bb86cc4d51718892e (patch)
tree4063a38c29eaff7b30b92853fe5f1c1e7a087f17
parent7969dc2beca333e556b533053a94777169ffaa98 (diff)
Remove ENDIAN_* support. LLVM does not need it anymore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10872 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/Support/DataTypes.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/Support/DataTypes.h b/include/Support/DataTypes.h
index 4904bb31da..a93919d0f6 100644
--- a/include/Support/DataTypes.h
+++ b/include/Support/DataTypes.h
@@ -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
@@ -42,14 +41,6 @@
#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