aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/include
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/include')
-rw-r--r--nx-X11/include/Xos.h8
-rw-r--r--nx-X11/include/Xosdefs.h5
2 files changed, 1 insertions, 12 deletions
diff --git a/nx-X11/include/Xos.h b/nx-X11/include/Xos.h
index e79cec662..10b3a225f 100644
--- a/nx-X11/include/Xos.h
+++ b/nx-X11/include/Xos.h
@@ -246,12 +246,6 @@ typedef unsigned long fd_mask;
#endif
#endif /* XPG4 else */
-#ifdef __UNIXOS2__
-typedef unsigned long fd_mask;
-#include <limits.h>
-#define MAX_PATH _POSIX_PATH_MAX
-#endif
-
#ifdef __GNU__
#define PATH_MAX 4096
#define MAXPATHLEN 4096
@@ -269,7 +263,7 @@ typedef unsigned long fd_mask;
#define NGROUPS 16
#endif
-#if defined(ISC) || defined(__UNIXOS2__) || \
+#if defined(ISC) || \
(defined(__linux__) && !defined(__GLIBC__)) || \
(defined(__QNX__) && !defined(UNIXCONN))
/*
diff --git a/nx-X11/include/Xosdefs.h b/nx-X11/include/Xosdefs.h
index 3b151199e..ae676f9ff 100644
--- a/nx-X11/include/Xosdefs.h
+++ b/nx-X11/include/Xosdefs.h
@@ -127,11 +127,6 @@ in this Software without prior written authorization from The Open Group.
#define X_NOT_STDC_ENV
#endif
-#ifdef __UNIXOS2__
-#define USGISH
-#define NULL_NOT_ZERO
-#endif
-
#ifdef __DARWIN__
#define NULL_NOT_ZERO
#endif