diff options
-rw-r--r-- | src/h-system.h | 10 | ||||
-rw-r--r-- | src/init2.c | 38 |
2 files changed, 3 insertions, 45 deletions
diff --git a/src/h-system.h b/src/h-system.h index 50cc0af8..c1b17e1f 100644 --- a/src/h-system.h +++ b/src/h-system.h @@ -18,18 +18,14 @@ #include <ctype.h> #include <errno.h> -#if defined(NeXT) -# include <libc.h> -#else -# include <stdlib.h> -#endif +#include <stdlib.h> #ifdef SET_UID # include <sys/types.h> -# if defined(Pyramid) || defined(NeXT) || defined(SUNOS) || \ +# if defined(Pyramid) || defined(SUNOS) || \ defined(NCR3K) || defined(SUNOS) || defined(ibm032) || \ defined(__osf__) || defined(ISC) || defined(SGI) || \ defined(linux) @@ -65,7 +61,7 @@ #endif -#if !defined(NeXT) && !defined(__MWERKS__) +#if !defined(__MWERKS__) # include <fcntl.h> #endif diff --git a/src/init2.c b/src/init2.c index 977e6d1a..9c1c2afa 100644 --- a/src/init2.c +++ b/src/init2.c @@ -198,44 +198,6 @@ void init_file_paths(char *path) /* Build a path name */ strcpy(tail, "xtra"); ANGBAND_DIR_XTRA = string_make(path); - -#ifdef NeXT - - /* Allow "fat binary" usage with NeXT */ - if (TRUE) - { - cptr next = NULL; - -# if defined(m68k) - next = "m68k"; -# endif - -# if defined(i386) - next = "i386"; -# endif - -# if defined(sparc) - next = "sparc"; -# endif - -# if defined(hppa) - next = "hppa"; -# endif - - /* Use special directory */ - if (next) - { - /* Forget the old path name */ - string_free(ANGBAND_DIR_DATA); - - /* Build a new path name */ - sprintf(tail, "data-%s", next); - ANGBAND_DIR_DATA = string_make(path); - } - } - -#endif /* NeXT */ - } |