Remove all _XOPEN_SOURCE definitions from Xos.h, as Xpoll.h.in now deals

with this by using which of fds_bits or __fds_bits we have.
This commit is contained in:
Daniel Stone 2005-07-23 02:53:32 +00:00
parent f97e34e65e
commit 74a3f7f778

13
Xos.h
View file

@ -57,18 +57,7 @@ in this Software without prior written authorization from The Open Group.
#include <sys/types.h>
#define _POSIX_SOURCE
#else
/*
* Make sure _XOPEN_SOURCE is defined before including sys/select.h
* so that we get fds_bits in fd_set instead of __fds_bits
* EXCEPT on SVR4, where it REMOVES required typedefs!
*/
# if !defined(_XOPEN_SOURCE) && !defined(SVR4)
# define _XOPEN_SOURCE
# include <sys/types.h>
# undef _XOPEN_SOURCE
# else
# include <sys/types.h>
# endif
# include <sys/types.h>
#endif
#endif /* USG */