From: Daiki Ueno Date: Tue, 16 Dec 2014 08:59:43 +0000 (+0900) Subject: Backport iOS check from Gnulib X-Git-Tag: v0.19.4~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0207e6c88fa583ed96eb30479123605be9b68bb2;p=thirdparty%2Fgettext.git Backport iOS check from Gnulib * gnulib-local/lib/unistd.in.h.diff: Update. --- diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index 219cb0bb3..1b2ce2229 100644 --- a/gnulib-local/ChangeLog +++ b/gnulib-local/ChangeLog @@ -1,3 +1,8 @@ +2014-12-16 Daiki Ueno + + Backport iOS check from Gnulib + * lib/unistd.in.h.diff: Update. + 2014-12-15 Daiki Ueno Work around interoperability with preinstalled libunistring diff --git a/gnulib-local/lib/unistd.in.h.diff b/gnulib-local/lib/unistd.in.h.diff index 3bd5fa642..b339c4def 100644 --- a/gnulib-local/lib/unistd.in.h.diff +++ b/gnulib-local/lib/unistd.in.h.diff @@ -1,6 +1,8 @@ ---- unistd.in.h.orig 2013-02-25 18:40:16.000000000 +0900 -+++ unistd.in.h 2013-02-25 18:49:26.754601400 +0900 -@@ -109,7 +109,11 @@ +diff --git a/unistd.in.h b/unistd.in.h +index b4a3f5b..dd0d2c2 100644 +--- a/unistd.in.h ++++ b/unistd.in.h +@@ -125,7 +125,11 @@ /* Get getopt(), optarg, optind, opterr, optopt. But avoid namespace pollution on glibc systems. */ @@ -13,3 +15,12 @@ # define __need_getopt # include #endif +@@ -402,7 +406,7 @@ _GL_WARN_ON_USE (dup3, "dup3 is unportable - " + "VARIABLE=VALUE", terminated with a NULL. */ + # if defined __APPLE__ && defined __MACH__ + # include +-# if !defined TARGET_OS_IPHONE && !defined TARGET_IPHONE_SIMULATOR ++# if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR + # define _GL_USE_CRT_EXTERNS + # endif + # endif