From d12f9524138899e43deb1a70fb37c97559d8f64e Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 15 Nov 2016 18:41:52 +0100 Subject: drop platform support: unifdef __UNIXOS2__. Fixes ArcticaProject/nx-libs#271. --- nx-X11/include/Xos.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'nx-X11/include/Xos.h') 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 -#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)) /* -- cgit v1.2.3 From ace255eda62081526b721e82ed0339c566975ad3 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 15 Nov 2016 19:20:13 +0100 Subject: drop platform support: unifdef Lynx. Fixes ArcticaProject/nx-libs#272. --- nx-X11/include/Xos.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nx-X11/include/Xos.h') diff --git a/nx-X11/include/Xos.h b/nx-X11/include/Xos.h index 10b3a225f..8a7fface1 100644 --- a/nx-X11/include/Xos.h +++ b/nx-X11/include/Xos.h @@ -219,7 +219,7 @@ struct timeval { (t)->tv_sec = _gtodtmp.time; \ (t)->tv_usec = _gtodtmp.millitm * 1000; \ } -#elif defined(_SEQUENT_) || defined(Lynx) +#elif defined(_SEQUENT_) #include #elif defined (__QNX__) typedef unsigned long fd_mask; -- cgit v1.2.3 From c6250a86468b1c2c23d41b27c4d6e438518ec917 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 15 Nov 2016 21:51:55 +0100 Subject: drop platform support: unifdef QNX. Relates to ArcticaProject/nx-libs#275. --- nx-X11/include/Xos.h | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'nx-X11/include/Xos.h') diff --git a/nx-X11/include/Xos.h b/nx-X11/include/Xos.h index 8a7fface1..353965c1c 100644 --- a/nx-X11/include/Xos.h +++ b/nx-X11/include/Xos.h @@ -221,13 +221,6 @@ struct timeval { } #elif defined(_SEQUENT_) #include -#elif defined (__QNX__) -typedef unsigned long fd_mask; -/* Make sure we get 256 bit select masks */ -#define FD_SETSIZE 256 -#include -#include -#include #else #include #include @@ -264,8 +257,7 @@ typedef unsigned long fd_mask; #endif #if defined(ISC) || \ - (defined(__linux__) && !defined(__GLIBC__)) || \ - (defined(__QNX__) && !defined(UNIXCONN)) + (defined(__linux__) && !defined(__GLIBC__)) /* * Some OS's may not have this */ -- cgit v1.2.3 From 2d45d8d805df95f7277d333e026a008dbd07f479 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 15 Nov 2016 22:03:39 +0100 Subject: drop platform support: unifdef sgi. Relates to ArcticaProject/nx-libs#275. --- nx-X11/include/Xos.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'nx-X11/include/Xos.h') diff --git a/nx-X11/include/Xos.h b/nx-X11/include/Xos.h index 353965c1c..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 #endif -#endif #ifdef _SEQUENT_ /* -- cgit v1.2.3