Define DEPRECATED so that it can be used in function and variable

declarations.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11391 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos 2004-02-13 20:05:44 +00:00
parent 68300db685
commit bccab5ed5e

View File

@ -289,6 +289,9 @@ CPPFLAGS += -D_GNU_SOURCE
# Pull in limit macros from stdint.h, even in C++:
CPPFLAGS += -D__STDC_LIMIT_MACROS
### FIXME: this is GCC specific
CPPFLAGS += -DDEPRECATED='__attribute__ ((deprecated))'
CompileCommonOpts := -Wall -W -Wwrite-strings -Wno-unused
CompileOptimizeOpts := -O3 -DNDEBUG -finline-functions