Add __STDC_LIMIT_MACROS here.

llvm-svn: 9549
This commit is contained in:
Brian Gaeke 2003-10-28 19:09:28 +00:00
parent f7585e10cf
commit 9061e3664a

View File

@ -288,8 +288,10 @@ STRIP = $(PLATFORMSTRIPOPTS)
STRIP_WARN_MSG = "(without symbols)"
endif
# Allow gnu extensions...
# Allow GNU extensions:
CPPFLAGS += -D_GNU_SOURCE
# Pull in limit macros from stdint.h, even in C++:
CPPFLAGS += -D__STDC_LIMIT_MACROS
CompileWarnings := -Wall -W -Wwrite-strings -Wno-unused
CompileCommonOpts := $(CompileWarnings) -fshort-enums