summaryrefslogtreecommitdiff
path: root/os/osdep.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2008-07-17 21:37:50 +0300
committerDaniel Stone <daniel@fooishbar.org>2008-07-17 21:37:50 +0300
commit446fe9eecddd1337f9d5164dd7c301e1ba3dfe32 (patch)
treee749fe520d2226df0397a407e7353c065bbc5248 /os/osdep.h
parent0564b5454ac101d9e1218767bbbc2c2d9f3e0696 (diff)
Dead code removal
Remove a whole bunch of code that was never built, be it entire files or just dead ifdefs.
Diffstat (limited to 'os/osdep.h')
-rw-r--r--os/osdep.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/os/osdep.h b/os/osdep.h
index 84f7177db..2f7bd7585 100644
--- a/os/osdep.h
+++ b/os/osdep.h
@@ -59,7 +59,6 @@ SOFTWARE.
#include <X11/Xdmcp.h>
#ifndef sgi /* SGI defines OPEN_MAX in a useless way */
-#ifndef X_NOT_POSIX
#ifdef _POSIX_SOURCE
#include <limits.h>
#else
@@ -67,13 +66,6 @@ SOFTWARE.
#include <limits.h>
#undef _POSIX_SOURCE
#endif
-#else /* X_NOT_POSIX */
-#ifdef WIN32
-#define _POSIX_
-#include <limits.h>
-#undef _POSIX_
-#endif
-#endif /* X_NOT_POSIX */
#endif
#ifdef __QNX__