diff options
Diffstat (limited to 'include/Support/DataTypes.h')
-rw-r--r-- | include/Support/DataTypes.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/Support/DataTypes.h b/include/Support/DataTypes.h index 66967619fc..063c464457 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 */ |