diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-15 21:41:57 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2017-02-08 22:40:47 +0100 |
commit | 754e48ac009e4ddf452af06ee3451ecaf7946547 (patch) | |
tree | c62bbb12e1c4ac83c5107af2c0a609bda3ccbf63 /nx-X11/include/Xpoll.h.in | |
parent | a9c30796dce587627524ffa886eeef5e73144c46 (diff) | |
download | nx-libs-754e48ac009e4ddf452af06ee3451ecaf7946547.tar.gz nx-libs-754e48ac009e4ddf452af06ee3451ecaf7946547.tar.bz2 nx-libs-754e48ac009e4ddf452af06ee3451ecaf7946547.zip |
drop platform support: unifdef DGUX.
Relates to ArcticaProject/nx-libs#275.
Diffstat (limited to 'nx-X11/include/Xpoll.h.in')
-rw-r--r-- | nx-X11/include/Xpoll.h.in | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/nx-X11/include/Xpoll.h.in b/nx-X11/include/Xpoll.h.in index c487e0af2..3ad5d0669 100644 --- a/nx-X11/include/Xpoll.h.in +++ b/nx-X11/include/Xpoll.h.in @@ -79,22 +79,17 @@ from The Open Group. /* Below is the monster branch from hell. Basically, most systems will drop to * 'the branch below is the fallthrough for halfway modern systems', and include * <sys/select.h>, so we get the FD_* macros. */ -#if !defined(DGUX) -# if defined(SVR4) && !defined(FD_SETSIZE) -# include <sys/select.h> -# ifdef luna -# include <sysent.h> -# endif -# else /* not SVR4 */ -# ifdef __QNX__ /* Make sure we get 256 bit select masks */ -# define FD_SETSIZE 256 -# endif -# include <sys/select.h> + +#if defined(SVR4) && !defined(FD_SETSIZE) +# include <sys/select.h> +# ifdef luna +# include <sysent.h> +# endif +#else /* not SVR4 */ +# ifdef __QNX__ /* Make sure we get 256 bit select masks */ +# define FD_SETSIZE 256 # endif -#else /* DGUX -- No sys/select in Intel DG/ux */ -# include <sys/time.h> -# include <sys/types.h> -# include <unistd.h> +# include <sys/select.h> #endif #include <nx-X11/Xmd.h> |