--- uposixdefs.h (revision 29587) +++ uposixdefs.h (working copy) @@ -49,12 +49,17 @@ * Make sure things like readlink and such functions work. * Poorly upgraded Solaris machines can't have this defined. * Cleanly installed Solaris can use this #define. + * [Experience with TeX Live is that it always causes failure. + * http://tug.org/pipermail/tlbuild/2013q1/002493.html + * http://tug.org/pipermail/tlbuild/2013q1/002536.html ] * * z/OS needs this definition for timeval and to get usleep. */ #if !defined(_XOPEN_SOURCE_EXTENDED) +#ifndef __sun # define _XOPEN_SOURCE_EXTENDED 1 #endif +#endif /* * There is an issue with turning on _XOPEN_SOURCE_EXTENDED on certain platforms.