diff options
author | Bardur Arantsson <bardur@scientician.net> | 2014-12-16 08:03:10 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2014-12-16 08:03:10 +0100 |
commit | 1317b79a18d283e5a953005cb4a57b600dedadc0 (patch) | |
tree | e26755772ec30a716d78150f1aa36c9639796b0e /src/config.h | |
parent | 63dc88888692fbeddb4c0a2ec99af3cd708276eb (diff) |
Remove lots of obsolete platform defines
Diffstat (limited to 'src/config.h')
-rw-r--r-- | src/config.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/config.h b/src/config.h index ce9b2d4b..290ec624 100644 --- a/src/config.h +++ b/src/config.h @@ -36,9 +36,6 @@ * * Several other such options are available for non-unix machines, * such as "MACINTOSH", "WINDOWS". - * - * You may also need to specify the "system", using defines such as - * "SOLARIS" (for Solaris), etc, see "h-config.h" for more info. */ @@ -59,53 +56,11 @@ /* - * OPTION: Use "blocking getch() calls" in "main-gcu.c". - * Hack -- Note that this option will NOT work on many BSD machines - * Currently used whenever available, if you get a warning about - * "nodelay()" undefined, then make sure to undefine this. - */ -#if defined(SYS_V) -# define USE_GETCH -#endif - - -/* - * OPTION: Use the "curs_set()" call in "main-gcu.c". - * Hack -- This option will not work on most BSD machines - */ -#ifdef SYS_V -# define USE_CURS_SET -#endif - - -/* * OPTION: Include "ncurses.h" instead of "curses.h" in "main-gcu.c" */ /* #define USE_NCURSES */ -/* - * OPTION: for multi-user machines running the game setuid to some other - * user (like 'games') this SAFE_SETUID option allows the program to drop - * its privileges when saving files that allow for user specified pathnames. - * This lets the game be installed system wide without major security - * concerns. There should not be any side effects on any machines. - * - * This will handle "gids" correctly once the permissions are set right. - */ -#define SAFE_SETUID - - -/* - * This flag enables the "POSIX" methods for "SAFE_SETUID". - */ -#if defined(_POSIX_SAVED_IDS) && !(defined(SUNOS) && !defined(SOLARIS)) && !defined(__APPLE__) -# define SAFE_SETUID_POSIX -#endif - - - - /* * OPTION: Maximum flow depth |