Add __STDC_LIMIT_MACROS here.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9549 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Brian Gaeke 2003-10-28 19:09:28 +00:00
parent 08020c13d0
commit 90eca5505f

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