About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/util/u_string.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/u_string.h')
-rw-r--r--src/util/u_string.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/u_string.h b/src/util/u_string.h
index 73d5c3be3e4..093101af8a0 100644
--- a/src/util/u_string.h
+++ b/src/util/u_string.h
@@ -50,7 +50,7 @@
extern "C" {
#endif
-#if !defined(_GNU_SOURCE) || defined(__APPLE__)
+#if !defined(_GNU_SOURCE) || defined(__APPLE__) || defined(DETECT_OS_WINDOWS)
#define strchrnul util_strchrnul
static inline char *