summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-52.1-PATCHES/patch-14-xopen
blob: 696554c2095a9fba0de588d26ced28cb7a26ef14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
	Do not define _XOPEN_SOURCE_EXTENDED on Solaris,
	notwithstanding comments in icu source.

diff -ur icu-52.1.orig/source/common/uposixdefs.h icu-52.1/source/common/uposixdefs.h
--- icu-52.1.orig/source/common/uposixdefs.h	2013-09-25 06:23:06.000000000 +0200
+++ icu-52.1/source/common/uposixdefs.h	2013-09-26 10:13:32.000000000 +0200
@@ -49,10 +49,13 @@
  * 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)
+#if !defined(_XOPEN_SOURCE_EXTENDED) && !defined(__sun)
 #   define _XOPEN_SOURCE_EXTENDED 1
 #endif