aboutsummaryrefslogtreecommitdiffstats
path: root/main/ast_expr2.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-18 15:03:42 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-02-18 15:03:42 +0000
commit86baa1f143f2d656af546daa60e04322fb774e43 (patch)
treed3cbfebd5968b6a1cb896ae84b747c066ae3e94c /main/ast_expr2.c
parentc37360e99ec0341b2eb5909fa74793ffffb7bfee (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: http://svn.digium.com/svn/asterisk/trunk@55329 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/ast_expr2.c')
-rw-r--r--main/ast_expr2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/ast_expr2.c b/main/ast_expr2.c
index 5c1d9bf71..85515c455 100644
--- a/main/ast_expr2.c
+++ b/main/ast_expr2.c
@@ -367,7 +367,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)