projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bb13b8
)
Tighten up sanity checking
author
Chris Lattner
<sabre@nondot.org>
Fri, 13 Sep 2002 22:18:26 +0000
(22:18 +0000)
committer
Chris 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
patch
|
blob
|
history
diff --git
a/include/Support/DataTypes.h
b/include/Support/DataTypes.h
index 66967619fc3f78b897c338dc340c4f9758f1b557..063c4644577a1d382f9098846a46e1c3637871be 100644
(file)
--- a/
include/Support/DataTypes.h
+++ b/
include/Support/DataTypes.h
@@
-35,10
+35,8
@@
#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 */