office-gobmx/external/icu/icu4c-solarisgcc.patch
Robert M Campbell 8ab4752820 upgrade to ICU 52.1, fdo#70995
Change-Id: I25e4b630c9029749cc459c0b65da287d6f0ba95e
Reviewed-on: https://gerrit.libreoffice.org/6666
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2013-11-13 15:35:16 +00:00

12 lines
345 B
Diff

--- build/icu.old/source/common/uposixdefs.h
+++ build/icu/source/common/uposixdefs.h
@@ -52,7 +52,7 @@
*
* z/OS needs this definition for timeval and to get usleep.
*/
-#if !defined(_XOPEN_SOURCE_EXTENDED)
+#if !defined(_XOPEN_SOURCE_EXTENDED) && (defined(__IBMC__) || defined(__IBMCPP__))
# define _XOPEN_SOURCE_EXTENDED 1
#endif