mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-28 21:41:15 -03:00
Fix macOS Xcode build
React to Solaris fixes (0019c12af3) by hiding some more
functions from macOS. The Xcode build uses special weak-linking
magic.
This commit is contained in:
@@ -156,7 +156,7 @@ int wcsncasecmp(const wchar_t *a, const wchar_t *b, size_t n) {
|
||||
return wcsncasecmp_fallback(a, b, n);
|
||||
}
|
||||
#endif // __DARWIN_C_LEVEL >= 200809L
|
||||
#endif // __APPLE__
|
||||
#else // __APPLE__
|
||||
|
||||
/// These functions are missing from Solaris 10
|
||||
#ifndef HAVE_WCSDUP
|
||||
@@ -170,6 +170,7 @@ int wcsncasecmp(const wchar_t *a, const wchar_t *b, size_t n) {
|
||||
return wcsncasecmp_fallback(a, b, n);
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_WCSNDUP
|
||||
wchar_t *wcsndup(const wchar_t *in, size_t c) {
|
||||
|
||||
Reference in New Issue
Block a user