From d49fe1968a4b5a3c79fa71177bcdeeb702db264e Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 31 May 2011 01:15:54 +0300 Subject: Improve gettext build for iOS --- gettext/gettext-0.18.1.1.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gettext') diff --git a/gettext/gettext-0.18.1.1.patch b/gettext/gettext-0.18.1.1.patch index 72970b663bec..016b65d8838b 100644 --- a/gettext/gettext-0.18.1.1.patch +++ b/gettext/gettext-0.18.1.1.patch @@ -2721,7 +2721,7 @@ +#endif + +#include -+#if (defined __APPLE__ && defined __MACH__) && HAVE_NEWLOCALE ++#if (defined __APPLE__ && defined __MACH__) +# include +#endif + @@ -3016,7 +3016,7 @@ + or gettext() but for which the format string could be the return value + of _() or gettext() need to add this #include. Oh well. */ + -+#if !0 ++#if !(defined __APPLE__ && defined __MACH__) + +#include +#include @@ -3138,7 +3138,7 @@ +#define setlocale libintl_setlocale +extern LIBINTL_DLL_EXPORTED char *setlocale (int, const char *); + -+#if HAVE_NEWLOCALE ++#if (defined __APPLE__ && defined __MACH__) + +#undef newlocale +#define newlocale libintl_newlocale @@ -3194,7 +3194,7 @@ +#define _LIBINTL_H 1 + +#include -+#if (defined __APPLE__ && defined __MACH__) && 0 ++#if (defined __APPLE__ && defined __MACH__) +# include +#endif + @@ -3485,7 +3485,7 @@ + or gettext() but for which the format string could be the return value + of _() or gettext() need to add this #include. Oh well. */ + -+#if !0 ++#if !(defined __APPLE__ && defined __MACH__) + +#include +#include @@ -3607,7 +3607,7 @@ +#define setlocale libintl_setlocale +extern char *setlocale (int, const char *); + -+#if 0 ++#if (defined __APPLE__ && defined __MACH__) + +#undef newlocale +#define newlocale libintl_newlocale -- cgit v1.2.3