From 74a3f7f77830e4417a4bc4145114030dfaef6f4e Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Sat, 23 Jul 2005 02:53:32 +0000 Subject: [PATCH] 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. --- Xos.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Xos.h b/Xos.h index cd41bdd..e051016 100644 --- a/Xos.h +++ b/Xos.h @@ -57,18 +57,7 @@ in this Software without prior written authorization from The Open Group. #include #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 -# undef _XOPEN_SOURCE -# else -# include -# endif +# include #endif #endif /* USG */