From 3a64b404e370d109c8fb7d277bb192a68eb9d8f6 Mon Sep 17 00:00:00 2001 From: nhmall Date: Sun, 19 Jan 2025 22:36:38 -0500 Subject: [PATCH] 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); ^~~~~~ --- include/global.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/global.h b/include/global.h index 197a92da1..77740213b 100644 --- a/include/global.h +++ b/include/global.h @@ -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 */