what is _XOPEN_SOURCE=500 needed for?

Daniel Stone daniel at fooishbar.org
Sat May 28 01:51:04 PDT 2005


On Fri, May 27, 2005 at 11:50:47PM -0700, Josh Triplett wrote:
> The optimal solution to this problem would probably be to rewrite the
> macros in Xpoll.h to use the portable macros FD_SET, FD_CLEAR, FD_ISSET,
> and FD_ZERO.  Attempting to look at the insides of struct fd_set, and in
> particular assuming that it has a member fds_bits, is non-portable;
> defining _*_SOURCE just lets it use this non-portable behavior on some
> additional platforms.

Alan, Mathieu, Eric A, others: is this portable to your OS?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20050528/63a765f3/attachment.pgp>


More information about the xorg mailing list