From affb3582945d04bf4173e24d968c34ba6178eb5d Mon Sep 17 00:00:00 2001 From: nhmall Date: Fri, 21 Apr 2023 13:46:50 -0400 Subject: [PATCH] fix some macro naming conflicts --- include/wintty.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/wintty.h b/include/wintty.h index 3dbf13324..ad7f7ce05 100644 --- a/include/wintty.h +++ b/include/wintty.h @@ -299,6 +299,18 @@ E void tty_refresh_inventory(int start, int stop, int y); #undef clear_screen #endif #include +#ifdef bell +#undef bell +#endif +#ifdef color_names +#undef color_names +#endif +#ifdef tone +#undef tone +#endif +#ifdef hangup +#undef hangup +#endif #else extern int tgetent(char *, const char *); extern void tputs(const char *, int, int (*)(int));