Revert r58411. The user needs to #define this when using the JITMemoryManager.h header.
authorBill Wendling <isanbard@gmail.com>
Thu, 30 Oct 2008 01:22:58 +0000 (01:22 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 30 Oct 2008 01:22:58 +0000 (01:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58414 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/DataTypes.h.in

index b19593066bdc274755f44af452e916420ff66bea..72063f7d2add3a4b74bcf43ff3912bf0a1f6d9c8 100644 (file)
 # error "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
 #endif
 
+#if !defined(__STDC_CONSTANT_MACROS)
+# error "Must #define __STDC_CONSTANT_MACROS before " \
+        "#including Support/DataTypes.h"
+#endif
+
 // Note that <inttypes.h> includes <stdint.h>, if this is a C99 system.
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>