]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Backport iOS check from Gnulib
authorDaiki Ueno <ueno@gnu.org>
Tue, 16 Dec 2014 08:59:43 +0000 (17:59 +0900)
committerDaiki Ueno <ueno@gnu.org>
Tue, 16 Dec 2014 08:59:43 +0000 (17:59 +0900)
* gnulib-local/lib/unistd.in.h.diff: Update.

gnulib-local/ChangeLog
gnulib-local/lib/unistd.in.h.diff

index 219cb0bb3d9ad16237a26b6105a94299b2b92cec..1b2ce22291430dd04d5f5124db0bd63deb01a13a 100644 (file)
@@ -1,3 +1,8 @@
+2014-12-16  Daiki Ueno  <ueno@gnu.org>
+
+       Backport iOS check from Gnulib
+       * lib/unistd.in.h.diff: Update.
+
 2014-12-15  Daiki Ueno  <ueno@gnu.org>
 
        Work around interoperability with preinstalled libunistring
index 3bd5fa6421d4fd77739dfc67b8cfa54afce73aae..b339c4def46ae40434577c573373bddb02e7096e 100644 (file)
@@ -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.  */
  # define __need_getopt
  # include <getopt.h>
  #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 <TargetConditionals.h>
+-#   if !defined TARGET_OS_IPHONE && !defined TARGET_IPHONE_SIMULATOR
++#   if !TARGET_OS_IPHONE && !TARGET_IPHONE_SIMULATOR
+ #    define _GL_USE_CRT_EXTERNS
+ #   endif
+ #  endif