Source:NetHack 3.3.0/tosconf.h

Below is the full text to tosconf.h from the source code of NetHack 3.3.0. To link to a particular line, write [[NetHack 3.3.0/tosconf.h#line123 ]], for example.

Warning! This is the source code from an old release. For the latest release, see Source code

1.   /*	SCCS Id: @(#)tosconf.h	3.2	90/02/22	*/ 2.   /* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ 3.    /* NetHack may be freely redistributed. See license for details. */ 4.     5.    #ifdef TOS 6.   #ifndef TOSCONF_H 7.   #define TOSCONF_H 8.    9.    #define MICRO		/* must be defined to allow some inclusions */ 10.   11.   /*  12.      Adjust these options to suit your compiler. The default here is for 13.     GNU C with the MiNT library. 14.  */  15.    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 */ 19.   20.   #ifdef __MINT__ 21.  #define MINT 22.  #endif 23.   24.   #ifdef O_BINARY 25.  #define FCMASK	O_BINARY 26.  #else 27.  #define FCMASK	0660 28.  #define O_BINARY 0 29.  #endif 30.   31.   #ifdef UNIXDEBUG 32.  #define remove(x)	unlink(x) 33.  #endif 34.   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.  #ifdef MINT 42.  #define SUSPEND			/* allow suspending the game	*/ 43.  #endif 44.   45.   #ifndef TERMLIB 46.  #define ANSI_DEFAULT		/* use vt52 by default		*/ 47.  #endif 48.   49.   #if defined(__GNUC__) || defined(__MINT__) 50.  /* actually, only more recent GNU C libraries have strcmpi 51.   * on the other hand, they're free -- if yours is out of  52. * date, grab the most recent from atari.archive.umich.edu 53.   */  54.   #define STRNCMPI 55.  #undef strcmpi 56.  extern int FDECL(strcmpi,(const char *, const char *)); 57.  extern int FDECL(strncmpi,(const char *, const char *, size_t)); 58.  #endif 59.   60.   #ifndef MICRO_H 61.  #include "micro.h"  62. #endif 63.  #ifndef PCCONF_H 64.  #include "pcconf.h"		/* remainder of stuff is same as the PC */ 65.  #endif 66.   67.   #ifdef TEXTCOLOR 68.  extern boolean colors_changed;	/* in tos.c */ 69.  #endif 70.   71.   #ifdef __GNUC__ 72.  #define GCC_BUG		/* correct a gcc bug involving double for loops */ 73.  #endif 74.   75.   #endif /* TOSCONF_H */ 76.  #endif /* TOS */