mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
Merge pull request #326 from hanazuki/binutils-patch-for-newer-osx
patches/binutils: wcsncasecmp is provided by OSX >= 10.7
This commit is contained in:
commit
b8ca5bd083
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user