Tighten up sanity checking
authorChris Lattner <sabre@nondot.org>
Fri, 13 Sep 2002 22:18:26 +0000 (22:18 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 13 Sep 2002 22:18:26 +0000 (22:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3706 91177308-0d34-0410-b5e6-96231b3b80d8

include/Support/DataTypes.h

index 66967619fc3f78b897c338dc340c4f9758f1b557..063c4644577a1d382f9098846a46e1c3637871be 100644 (file)
 #endif
 #endif
 
-#ifndef LITTLE_ENDIAN
-#if !defined(BIG_ENDIAN) || !defined(INT64_MAX)
+#if (!defined(LITTLE_ENDIAN) && !defined(BIG_ENDIAN)) || !defined(INT64_MAX)
 #error "include/Support/DataTypes.h could not determine endianness!"
 #endif
-#endif
 
 #endif  /* LLVM_SUPPORT_DATATYPES_H */