1 /* NetHack 3.6 tosconf.h $NHDT-Date: 1432512782 2015/05/25 00:13:02 $ $NHDT-Branch: master $:$NHDT-Revision: 1.7 $ */
2 /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
3 /*-Copyright (c) Kenneth Lorber, Kensington, Maryland, 2015. */
4 /* NetHack may be freely redistributed. See license for details. */
10 #define MICRO /* must be defined to allow some inclusions */
13 Adjust these options to suit your compiler. The default here is for
14 GNU C with the MiNT library.
17 /*#define NO_SIGNAL /* library doesn't support signals */
18 /*#define NO_FSTAT /* library doesn't have fstat() call */
19 #define MINT /* library supports MiNT extensions to TOS */
26 #define FCMASK O_BINARY
33 #define remove(x) unlink(x)
36 /* configurable options */
37 #define MFLOPPY /* floppy support */
38 #define RANDOM /* improved random numbers */
39 #define SHELL /* allow spawning of shell */
40 #define TERMLIB /* use termcap */
41 #define TEXTCOLOR /* allow color */
42 #define MAIL /* enable the fake maildemon */
44 #define SUSPEND /* allow suspending the game */
48 #define ANSI_DEFAULT /* use vt52 by default */
51 #if defined(__GNUC__) || defined(__MINT__)
52 /* actually, only more recent GNU C libraries have strcmpi
53 * on the other hand, they're free -- if yours is out of
54 * date, grab the most recent from atari.archive.umich.edu
58 extern int FDECL(strcmpi, (const char *, const char *));
59 extern int FDECL(strncmpi, (const char *, const char *, size_t));
64 /* instead of including system.h from pcconf.h */
68 #define SIG_RET_TYPE __Sigfunc
75 #include "pcconf.h" /* remainder of stuff is same as the PC */
79 extern boolean colors_changed; /* in tos.c */
83 #define GCC_BUG /* correct a gcc bug involving double for loops */
86 #endif /* TOSCONF_H */