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:
Ray Donnelly 2016-01-24 11:35:44 +00:00
commit b8ca5bd083

View File

@ -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)