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

declarations.

llvm-svn: 11391
This commit is contained in:
Alkis Evlogimenos 2004-02-13 20:05:44 +00:00
parent e00227248e
commit 1aa50dfae5
1 changed files with 3 additions and 0 deletions

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