diff --git a/sys/windows/consoletty.c b/sys/windows/consoletty.c index 7831d89e0..bb67541a7 100644 --- a/sys/windows/consoletty.c +++ b/sys/windows/consoletty.c @@ -2541,6 +2541,9 @@ void early_raw_print(const char *s) * */ + +DISABLE_WARNING_CONDEXPR_IS_CONSTANT + void nethack_enter_consoletty(void) { int width; @@ -2776,6 +2779,8 @@ void nethack_enter_consoletty(void) } #endif /* TTY_GRAPHICS */ +RESTORE_WARNING_CONDEXPR_IS_CONSTANT + /* this is used as a printf() replacement when the window * system isn't initialized yet */