fix some macro naming conflicts

This commit is contained in:
nhmall
2023-04-21 13:46:50 -04:00
parent f326a9428d
commit affb358294
+12
View File
@@ -299,6 +299,18 @@ E void tty_refresh_inventory(int start, int stop, int y);
#undef clear_screen #undef clear_screen
#endif #endif
#include <term.h> #include <term.h>
#ifdef bell
#undef bell
#endif
#ifdef color_names
#undef color_names
#endif
#ifdef tone
#undef tone
#endif
#ifdef hangup
#undef hangup
#endif
#else #else
extern int tgetent(char *, const char *); extern int tgetent(char *, const char *);
extern void tputs(const char *, int, int (*)(int)); extern void tputs(const char *, int, int (*)(int));