Revert part of r58048. It was breaking on SnowLeopard claiming that
authorBill Wendling <isanbard@gmail.com>
Thu, 30 Oct 2008 00:11:55 +0000 (00:11 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 30 Oct 2008 00:11:55 +0000 (00:11 +0000)
"__STDC_CONSTANT_MACROS" needs to be #defined first.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58411 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/DataTypes.h.in

index 72063f7d2add3a4b74bcf43ff3912bf0a1f6d9c8..b19593066bdc274755f44af452e916420ff66bea 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>