From: Bill Wendling Date: Thu, 30 Oct 2008 01:22:58 +0000 (+0000) Subject: Revert r58411. The user needs to #define this when using the JITMemoryManager.h header. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a872aae731a5e88de1a61df5855645887ea07e66;p=oota-llvm.git Revert r58411. The user needs to #define this when using the JITMemoryManager.h header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58414 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Support/DataTypes.h.in b/include/llvm/Support/DataTypes.h.in index b19593066bd..72063f7d2ad 100644 --- a/include/llvm/Support/DataTypes.h.in +++ b/include/llvm/Support/DataTypes.h.in @@ -37,6 +37,11 @@ # 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 includes , if this is a C99 system. #ifdef HAVE_SYS_TYPES_H #include