Ronald Van Iwaarden wrote: ... lines 1845 and 1846 of cmd.c generate a 'value out of range warning' due to the compiler making 0x80 an integer rather than a character and '|'ing it with the argument. This requires a minor change to micro.h. [ Makefile.os2 rev does not currently make sense in the trunk. ]
22 lines
465 B
C
22 lines
465 B
C
/* SCCS Id: @(#)micro.h 3.4 1990/02/22 */
|
|
/* micro.h - function declarations for various microcomputers */
|
|
/* NetHack may be freely redistributed. See license for details. */
|
|
|
|
#ifndef MICRO_H
|
|
#define MICRO_H
|
|
|
|
extern const char *alllevels, *allbones;
|
|
extern char levels[], bones[], permbones[], hackdir[];
|
|
|
|
extern int ramdisk;
|
|
|
|
#ifndef C
|
|
#define C(c) (0x1f & (c))
|
|
#endif
|
|
#ifndef M
|
|
#define M(c) (((char)0x80) | (c))
|
|
#endif
|
|
#define ABORT C('a')
|
|
|
|
#endif /* MICRO_H */
|