diff options
author | Daiki Ueno <ueno@gnu.org> | 2014-12-16 17:59:43 +0900 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2014-12-16 17:59:43 +0900 |
commit | 0207e6c88fa583ed96eb30479123605be9b68bb2 (patch) | |
tree | 85ee0ecf084a0dea2a938be157c65876255edebb /gnulib-local | |
parent | cf95bb42c1a04d4f8f1dc748a82c073a4602f67a (diff) | |
download | external_gettext-0207e6c88fa583ed96eb30479123605be9b68bb2.zip external_gettext-0207e6c88fa583ed96eb30479123605be9b68bb2.tar.gz external_gettext-0207e6c88fa583ed96eb30479123605be9b68bb2.tar.bz2 |
Backport iOS check from Gnulib
* gnulib-local/lib/unistd.in.h.diff: Update.
Diffstat (limited to 'gnulib-local')
-rw-r--r-- | gnulib-local/ChangeLog | 5 | ||||
-rw-r--r-- | gnulib-local/lib/unistd.in.h.diff | 17 |
2 files changed, 19 insertions, 3 deletions
diff --git a/gnulib-local/ChangeLog b/gnulib-local/ChangeLog index 219cb0b..1b2ce22 100644 --- a/gnulib-local/ChangeLog +++ b/gnulib-local/ChangeLog @@ -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 diff --git a/gnulib-local/lib/unistd.in.h.diff b/gnulib-local/lib/unistd.in.h.diff index 3bd5fa6..b339c4d 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 <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 |