mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 23:38:23 +00:00
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
This commit is contained in:
@@ -415,9 +415,9 @@ static char ext_pass_cmd[128];
|
||||
#define PWDCHANGE_EXTERNAL (1 << 2)
|
||||
static int pwdchange = PWDCHANGE_INTERNAL;
|
||||
|
||||
#if ODBC_STORAGE
|
||||
#ifdef ODBC_STORAGE
|
||||
#define tdesc "Comedian Mail (Voicemail System) with ODBC Storage"
|
||||
#elif IMAP_STORAGE
|
||||
#elifdef IMAP_STORAGE
|
||||
#define tdesc "Comedian Mail (Voicemail System) with IMAP Storage"
|
||||
#else
|
||||
#define tdesc "Comedian Mail (Voicemail System)"
|
||||
|
||||
Reference in New Issue
Block a user