mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +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:
@@ -215,7 +215,7 @@ re_refresh(EditLine *el)
|
||||
prompt_print(el, EL_PROMPT);
|
||||
|
||||
/* draw the current input buffer */
|
||||
#if notyet
|
||||
#ifdef notyet
|
||||
termsz = el->el_term.t_size.h * el->el_term.t_size.v;
|
||||
if (el->el_line.lastchar - el->el_line.buffer > termsz) {
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user