summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/string_func.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/string_func.h b/src/string_func.h
index 7bc2d6c95..0a6ff6d28 100644
--- a/src/string_func.h
+++ b/src/string_func.h
@@ -159,6 +159,6 @@ static inline bool IsWhitespace(WChar c)
#ifndef _GNU_SOURCE
/* strndup is a GNU extension */
char *strndup(const char *s, size_t len);
-#endif /* WIN32 || SUNOS */
-
#endif /* !_GNU_SOURCE */
+
+#endif /* STRING_FUNC_H */