The ones moved from cmd.c to global.h suffice.
}
#ifdef CTRL_V_HACK
-#ifndef C
-#define C(c) (0x1f & (c))
-#endif
-
// called when ^V is typed while the main window has keyboard focus;
// all other control characters go through NetHackQtBind::notify()
void NetHackQtMainWindow::CtrlV()
static int parse_escape_sequence(void);
-/* Macros for Control and Alt keys */
-
-#ifndef M
-# ifndef NHSTDC
-# define M(c) (0x80 | (c))
-# else
-# define M(c) ((c) - 128)
-# endif/* NHSTDC */
-#endif
-#ifndef C
-# define C(c) (0x1f & (c))
-#endif
-
/* Read a character of input from the user */
#include "tcap.h"
#include "wintty.h"
-#ifndef C /* this matches src/cmd.c */
-#define C(c) (0x1f & (c))
-#endif
-
static void redotoplin(const char *);
static void topl_putsym(char);
static void removetopl(int);