diff options
author | Ray Donnelly <mingw.android@gmail.com> | 2016-01-24 11:35:44 +0000 |
---|---|---|
committer | Ray Donnelly <mingw.android@gmail.com> | 2016-01-24 11:35:44 +0000 |
commit | b8ca5bd0836bedf73c7f3dfba31b046c089afb0d (patch) | |
tree | ef187d52949cb557aef39ec9f80bdf4ff0a5f90a /patches/binutils | |
parent | 99cf46785853369d2f6fd28702f98459af1646c7 (diff) | |
parent | 1ced27e223caec88fa9fdaf1ba0427000117e77f (diff) | |
download | crosstool-ng-b8ca5bd0836bedf73c7f3dfba31b046c089afb0d.tar.gz crosstool-ng-b8ca5bd0836bedf73c7f3dfba31b046c089afb0d.tar.bz2 crosstool-ng-b8ca5bd0836bedf73c7f3dfba31b046c089afb0d.zip |
Merge pull request #326 from hanazuki/binutils-patch-for-newer-osx
patches/binutils: wcsncasecmp is provided by OSX >= 10.7
Diffstat (limited to 'patches/binutils')
-rw-r--r-- | patches/binutils/2.25.1/350-Darwin-Two-fixes-from-Android-NDK-PTHREAD_ONCE_INIT-wcsncasecmp.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/binutils/2.25.1/350-Darwin-Two-fixes-from-Android-NDK-PTHREAD_ONCE_INIT-wcsncasecmp.patch b/patches/binutils/2.25.1/350-Darwin-Two-fixes-from-Android-NDK-PTHREAD_ONCE_INIT-wcsncasecmp.patch index 871d239b..6168b31e 100644 --- a/patches/binutils/2.25.1/350-Darwin-Two-fixes-from-Android-NDK-PTHREAD_ONCE_INIT-wcsncasecmp.patch +++ b/patches/binutils/2.25.1/350-Darwin-Two-fixes-from-Android-NDK-PTHREAD_ONCE_INIT-wcsncasecmp.patch @@ -21,7 +21,7 @@ index 13e39e4..7a98306 100644 } #endif /* HAVE_WCHAR_H and not Cygwin/Mingw */ -+#ifdef __APPLE__ ++#if defined __APPLE__ && __DARWIN_C_LEVEL < 200809L +/* wcsncasecmp isn't always defined in Mac SDK */ +static int +wcsncasecmp(const wchar_t *s1, const wchar_t *s2, size_t n) |