mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-06 12:38:11 +02:00
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:
parent
f97e34e65e
commit
74a3f7f778
1 changed files with 1 additions and 12 deletions
13
Xos.h
13
Xos.h
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue