aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fallback.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fallback.cpp')
-rw-r--r--src/fallback.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fallback.cpp b/src/fallback.cpp
index dc5bcce2..b14b9243 100644
--- a/src/fallback.cpp
+++ b/src/fallback.cpp
@@ -148,11 +148,13 @@ int wcsncasecmp_use_weak(const wchar_t *s1, const wchar_t *s2, size_t n) {
if (&wcsncasecmp != NULL) return (wcsncasecmp)(s1, s2, n);
return wcsncasecmp_fallback(s1, s2, n);
}
-#else // __DARWIN_C_LEVEL >= 200809L
+#else // __DARWIN_C_LEVEL >= 200809L
wchar_t *wcsdup(const wchar_t *in) { return wcsdup_fallback(in); }
int wcscasecmp(const wchar_t *a, const wchar_t *b) { return wcscasecmp_fallback(a, b); }
-int wcsncasecmp(const wchar_t *a, const wchar_t *b, size_t n) { return wcsncasecmp_fallback(a, b, n); }
-#endif // __DARWIN_C_LEVEL >= 200809L
+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__
#ifndef HAVE_WCSNDUP