From dbc436cb07c4b1f353331f350dfe6ca58604b51c Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 13 Sep 2002 22:18:26 +0000 Subject: [PATCH] Tighten up sanity checking git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3706 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/Support/DataTypes.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/Support/DataTypes.h b/include/Support/DataTypes.h index 66967619fc3..063c4644577 100644 --- 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 */