diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-14 22:08:38 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-07-14 22:08:38 +0000 |
commit | 825b6ae347b3896b8ea38e6021170d45ae3bfd65 (patch) | |
tree | 2dd5294680e252a023dac04629fc27a6db4445c0 | |
parent | acc0551fb1af1152c1b630ff5e82f023f11751e2 (diff) |
Don't define _XOPEN_SOURCE on SVR4, because it will REMOVE requiredXORG-6_8_99_15
definitions.
-rw-r--r-- | Xos.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -60,8 +60,9 @@ in this Software without prior written authorization from The Open Group. /* * 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! */ -# ifndef _XOPEN_SOURCE +# if !defined(_XOPEN_SOURCE) && !defined(SVR4) # define _XOPEN_SOURCE # include <sys/types.h> # undef _XOPEN_SOURCE |