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 /* NetHack may be freely redistributed. See license for details. */
9 #define MICRO /* must be defined to allow some inclusions */
12 Adjust these options to suit your compiler. The default here is for
13 GNU C with the MiNT library.
16 /*#define NO_SIGNAL /* library doesn't support signals */
17 /*#define NO_FSTAT /* library doesn't have fstat() call */
18 #define MINT /* library supports MiNT extensions to TOS */
25 #define FCMASK O_BINARY
32 #define remove(x) unlink(x)
35 /* configurable options */
36 #define MFLOPPY /* floppy support */
37 #define RANDOM /* improved random numbers */
38 #define SHELL /* allow spawning of shell */
39 #define TERMLIB /* use termcap */
40 #define TEXTCOLOR /* allow color */
41 #define MAIL /* enable the fake maildemon */
43 #define SUSPEND /* allow suspending the game */
47 #define ANSI_DEFAULT /* use vt52 by default */
50 #if defined(__GNUC__) || defined(__MINT__)
51 /* actually, only more recent GNU C libraries have strcmpi
52 * on the other hand, they're free -- if yours is out of
53 * date, grab the most recent from atari.archive.umich.edu
57 extern int FDECL(strcmpi
, (const char *, const char *));
58 extern int FDECL(strncmpi
, (const char *, const char *, size_t));
63 /* instead of including system.h from pcconf.h */
67 #define SIG_RET_TYPE __Sigfunc
74 #include "pcconf.h" /* remainder of stuff is same as the PC */
78 extern boolean colors_changed
; /* in tos.c */
82 #define GCC_BUG /* correct a gcc bug involving double for loops */
85 #endif /* TOSCONF_H */