aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/include/Xos.h
diff options
context:
space:
mode:
authorMihai Moldovan <ionic@ionic.de>2017-02-09 22:01:31 +0100
committerMihai Moldovan <ionic@ionic.de>2017-02-09 22:01:31 +0100
commit0a314adfa63669155299c77e479ed68c349643bd (patch)
tree6c5f9776e63ed48109714fd5c70e2cca37661c60 /nx-X11/include/Xos.h
parent86a6a340f06e7a735b92ca2923d2ebc6183de546 (diff)
parent029bae127dabb92f6e50a3b07d51f4921986efb0 (diff)
downloadnx-libs-0a314adfa63669155299c77e479ed68c349643bd.tar.gz
nx-libs-0a314adfa63669155299c77e479ed68c349643bd.tar.bz2
nx-libs-0a314adfa63669155299c77e479ed68c349643bd.zip
Merge branch 'sunweaver-pr/drop-support-for-ancient-platforms' into 3.6.x
Attributes GH PR #289: https://github.com/ArcticaProject/nx-libs/pull/289
Diffstat (limited to 'nx-X11/include/Xos.h')
-rw-r--r--nx-X11/include/Xos.h22
1 files changed, 3 insertions, 19 deletions
diff --git a/nx-X11/include/Xos.h b/nx-X11/include/Xos.h
index e79cec662..b664337c5 100644
--- a/nx-X11/include/Xos.h
+++ b/nx-X11/include/Xos.h
@@ -57,11 +57,9 @@ in this Software without prior written authorization from The Open Group.
#endif
#endif /* USG */
-#ifndef sgi
#if defined(__SCO__) || defined(__UNIXWARE__)
#include <stdint.h>
#endif
-#endif
#ifdef _SEQUENT_
/*
@@ -219,14 +217,7 @@ struct timeval {
(t)->tv_sec = _gtodtmp.time; \
(t)->tv_usec = _gtodtmp.millitm * 1000; \
}
-#elif defined(_SEQUENT_) || defined(Lynx)
-#include <time.h>
-#elif defined (__QNX__)
-typedef unsigned long fd_mask;
-/* Make sure we get 256 bit select masks */
-#define FD_SETSIZE 256
-#include <sys/select.h>
-#include <sys/time.h>
+#elif defined(_SEQUENT_)
#include <time.h>
#else
#include <sys/time.h>
@@ -246,12 +237,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,9 +254,8 @@ typedef unsigned long fd_mask;
#define NGROUPS 16
#endif
-#if defined(ISC) || defined(__UNIXOS2__) || \
- (defined(__linux__) && !defined(__GLIBC__)) || \
- (defined(__QNX__) && !defined(UNIXCONN))
+#if defined(ISC) || \
+ (defined(__linux__) && !defined(__GLIBC__))
/*
* Some OS's may not have this
*/