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

@@ -382,7 +382,7 @@ nhl_getmap(lua_State *L)
return 1;
}
RESTORE_WARNINGS
RESTORE_WARNING_CONDEXPR_IS_CONSTANT
/* pline("It hits!") */
static int