diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2016-11-15 21:41:57 +0100 |
---|---|---|
committer | Mihai Moldovan <ionic@ionic.de> | 2017-03-01 15:19:13 +0100 |
commit | 29401f29b3e818a74eab7334046bbb37173edffc (patch) | |
tree | 126d512640e1ed998a6256f951c42e879fade067 /nx-X11/include/Xpoll.h.in | |
parent | 0a9f9a9511d80defd4835c9d19476e324bbd674d (diff) | |
download | nx-libs-29401f29b3e818a74eab7334046bbb37173edffc.tar.gz nx-libs-29401f29b3e818a74eab7334046bbb37173edffc.tar.bz2 nx-libs-29401f29b3e818a74eab7334046bbb37173edffc.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> |