diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2007-02-18 15:03:42 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2007-02-18 15:03:42 +0000 |
commit | 74f31a51bc4fdf14b6f3a5d2f886c65ff882bd55 (patch) | |
tree | d3cbfebd5968b6a1cb896ae84b747c066ae3e94c /pbx/ael | |
parent | 7f0934b6f4f2d80f5d7befacb0b7ea51c346d634 (diff) |
add -Wundef to the --enable-dev-mode flags, so that mistyped macro names in #if expressions will be caught
convert various #if expressions to #ifdef for macros that may not be defined (and where the value is not important)
Note: two of these changes are in bison generated files which is going to be inconvenient when they are regenerated
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@55329 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx/ael')
-rw-r--r-- | pbx/ael/ael.tab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/ael/ael.tab.c b/pbx/ael/ael.tab.c index 8db187c6d..b7b6f5d92 100644 --- a/pbx/ael/ael.tab.c +++ b/pbx/ael/ael.tab.c @@ -335,7 +335,7 @@ typedef short int yytype_int16; #define YYSIZE_MAXIMUM ((YYSIZE_T) -1) #ifndef YY_ -# if YYENABLE_NLS +# ifdef YYENABLE_NLS # if ENABLE_NLS # include <libintl.h> /* INFRINGES ON USER NAME SPACE */ # define YY_(msgid) dgettext ("bison-runtime", msgid) |