From: nethack.allison Date: Tue, 8 Jul 2003 00:30:40 +0000 (+0000) Subject: suppress DOS djgpp build warning X-Git-Tag: MOVE2GIT~1906 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08bbe34a9f78a1bc9bb6e7c4894cec534eb3d90c;p=nethack 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 --- 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 /*