fix some macro naming conflicts
This commit is contained in:
@@ -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));
|
||||||
|
|||||||
Reference in New Issue
Block a user