more warnings.h - macOS issue

It turns out that macOS barked when a POP was issued without
a prior PUSH, so since the DISABLE_WARNING_CONDEXPR_IS_CONSTANT
expanded to an empty macro on that platform.

Include a corresponding
RESTORE_WARNING_CONDEXPR_IS_CONSTANT macro for use with that
particular warning.
This commit is contained in:
nhmall
2021-02-01 13:37:04 -05:00
parent 6aa94ebf57
commit e25b16e844
3 changed files with 5 additions and 2 deletions

View File

@@ -1539,7 +1539,7 @@ wiz_smell(void)
return 0;
}
RESTORE_WARNINGS
RESTORE_WARNING_CONDEXPR_IS_CONSTANT
#define DEFAULT_TIMEOUT_INCR 30