Remove an unused macro that conflicts with pdcursesmod

In file included from ../include/config.h:723:0,
                 from ../include/hack.h:10,
                 from files.c:8:
../include/global.h:519:24: error: expected ')' before '<=' token
 #define unctrl(c) ((c) <= C('z') ? (0x60 | (c)) : (c))
                        ^
../lib/pdcursesmod/curses.h:1686:16: note: in expansion of macro 'unctrl'
 PDCEX  char   *unctrl(chtype);
                ^~~~~~
This commit is contained in:
nhmall
2025-01-19 22:36:38 -05:00
parent 8de3aa564f
commit 3a64b404e3

View File

@@ -512,7 +512,6 @@ extern struct nomakedefs_s nomakedefs;
#define C(c) (0x1f & (c))
#endif
#define unctrl(c) ((c) <= C('z') ? (0x60 | (c)) : (c))
#define unmeta(c) (0x7f & (c))
/* Game log message type flags */