diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-15 18:41:52 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-03-01 15:19:13 +0100 |
commit | 0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8 (patch) | |
tree | 00a7164ebcce24a946e0c9501d2bfde2622069da /nx-X11/include | |
parent | f22e873e6f141b98bfc57a5443c11a9d6b8645c3 (diff) | |
download | nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.tar.gz nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.tar.bz2 nx-libs-0f9a11a94b5fb52b5f1f9c79a93c54fc6396cab8.zip |
drop platform support: unifdef __UNIXOS2__.
Fixes ArcticaProject/nx-libs#271.
Diffstat (limited to 'nx-X11/include')
-rw-r--r-- | nx-X11/include/Xos.h | 8 | ||||
-rw-r--r-- | nx-X11/include/Xosdefs.h | 5 |
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 |