forked from OSchip/llvm-project
Remove ENDIAN_* support. LLVM does not need it anymore.
llvm-svn: 10872
This commit is contained in:
parent
faaf32db19
commit
b3d765f5dd
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue