summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-08-08 18:37:39 +0000
committerBill Wendling <isanbard@gmail.com>2012-08-08 18:37:39 +0000
commit55d28436a7d757c36ac8ad681516817bfb8fd1c4 (patch)
treef316c6bb83e746fdfc076afa94b0a9e219aede0b
parent33453d06c4b36ef4d027578bf6634594ca6eaf55 (diff)
downloadbcm5719-llvm-55d28436a7d757c36ac8ad681516817bfb8fd1c4.tar.gz
bcm5719-llvm-55d28436a7d757c36ac8ad681516817bfb8fd1c4.zip
Remove OpenBSD defines:
- The defines are in stddint.h, which is #include'd already. - The block wasn't used anyway, since it was _OpenBSD_, and not __OpenBSD__ Patch by David Hill! llvm-svn: 161515
-rw-r--r--llvm/include/llvm/Support/DataTypes.h.cmake12
-rw-r--r--llvm/include/llvm/Support/DataTypes.h.in12
2 files changed, 0 insertions, 24 deletions
diff --git a/llvm/include/llvm/Support/DataTypes.h.cmake b/llvm/include/llvm/Support/DataTypes.h.cmake
index a3a6489e8a5..7484abd3686 100644
--- a/llvm/include/llvm/Support/DataTypes.h.cmake
+++ b/llvm/include/llvm/Support/DataTypes.h.cmake
@@ -79,18 +79,6 @@ typedef u_int64_t uint64_t;
#endif
#endif
-#ifdef _OpenBSD_
-#define INT8_MAX 127
-#define INT8_MIN -128
-#define UINT8_MAX 255
-#define INT16_MAX 32767
-#define INT16_MIN -32768
-#define UINT16_MAX 65535
-#define INT32_MAX 2147483647
-#define INT32_MIN -2147483648
-#define UINT32_MAX 4294967295U
-#endif
-
#else /* _MSC_VER */
/* Visual C++ doesn't provide standard integer headers, but it does provide
built-in data types. */
diff --git a/llvm/include/llvm/Support/DataTypes.h.in b/llvm/include/llvm/Support/DataTypes.h.in
index b492bb14ba5..b9fb48a1d49 100644
--- a/llvm/include/llvm/Support/DataTypes.h.in
+++ b/llvm/include/llvm/Support/DataTypes.h.in
@@ -79,18 +79,6 @@ typedef u_int64_t uint64_t;
#endif
#endif
-#ifdef _OpenBSD_
-#define INT8_MAX 127
-#define INT8_MIN -128
-#define UINT8_MAX 255
-#define INT16_MAX 32767
-#define INT16_MIN -32768
-#define UINT16_MAX 65535
-#define INT32_MAX 2147483647
-#define INT32_MIN -2147483648
-#define UINT32_MAX 4294967295U
-#endif
-
#else /* _MSC_VER */
/* Visual C++ doesn't provide standard integer headers, but it does provide
built-in data types. */
OpenPOWER on IntegriCloud