summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-51.1-PATCHES/patch-14-xopen
blob: 178a64c3778ae2f73dde195201c06557ef2768ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- 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.