From 08bbe34a9f78a1bc9bb6e7c4894cec534eb3d90c Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Tue, 8 Jul 2003 00:30:40 +0000 Subject: [PATCH] suppress DOS djgpp build warning gcc -c -O -I../include -DDLB -DUSE_TILES -oo/cmd.o ../src/cmd.c ../src/cmd.c: In function `rhack': ../src/cmd.c:1800: warning: case value out of range ../src/cmd.c:1801: warning: case value out of range --- include/pcconf.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/pcconf.h b/include/pcconf.h index 557f073a5..1df429e84 100644 --- a/include/pcconf.h +++ b/include/pcconf.h @@ -113,6 +113,9 @@ #define _NAIVE_DOS_REGS #include #include /* Provides prototypes of strncmpi(), etc. */ +# ifndef M +#define M(c) ((char) (0x80 | (c))) +# endif #endif /* -- 2.40.0