summaryrefslogtreecommitdiff
path: root/src/h-system.h
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2014-12-16 08:03:10 +0100
committerBardur Arantsson <bardur@scientician.net>2014-12-16 08:03:10 +0100
commit1317b79a18d283e5a953005cb4a57b600dedadc0 (patch)
treee26755772ec30a716d78150f1aa36c9639796b0e /src/h-system.h
parent63dc88888692fbeddb4c0a2ec99af3cd708276eb (diff)
Remove lots of obsolete platform defines
Diffstat (limited to 'src/h-system.h')
-rw-r--r--src/h-system.h29
1 files changed, 2 insertions, 27 deletions
diff --git a/src/h-system.h b/src/h-system.h
index 3c919099..f7759668 100644
--- a/src/h-system.h
+++ b/src/h-system.h
@@ -25,16 +25,11 @@
# include <sys/types.h>
-# if defined(Pyramid) || defined(SUNOS) || \
- defined(NCR3K) || defined(SUNOS) || defined(ibm032) || \
- defined(__osf__) || defined(ISC) || defined(SGI) || \
- defined(linux)
+# if defined(linux)
# include <sys/time.h>
# endif
-# if !defined(SGI) && !defined(ULTRIX)
# include <sys/timeb.h>
-# endif
#endif
@@ -51,27 +46,18 @@
# include <io.h>
#endif
-#if !defined(MACINTOSH) && \
- !defined(__MWERKS__)
-# if defined(__TURBOC__) || defined(__WATCOMC__)
-# include <mem.h>
-# else
+#if !defined(MACINTOSH)
# include <memory.h>
-# endif
#endif
-#if !defined(__MWERKS__)
# include <fcntl.h>
-#endif
#ifdef SET_UID
-# ifndef USG
# include <sys/param.h>
# include <sys/file.h>
-# endif
# ifdef linux
# include <sys/file.h>
@@ -83,23 +69,12 @@
# include <sys/stat.h>
-# if defined(SOLARIS)
-# include <netdb.h>
-# endif
#endif
-#ifdef __DJGPP__
-#include <unistd.h>
-#endif /* __DJGPP__ */
-
#ifdef SET_UID
-#ifdef USG
-# include <string.h>
-#else
# include <strings.h>
-#endif
#else