aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/platform.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/platform.h b/include/platform.h
index 0fa9f6182..cfc802907 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -434,7 +434,7 @@ typedef unsigned smalluint;
# undef HAVE_UNLOCKED_LINE_OPS
#endif
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__APPLE__)
# undef HAVE_STRCHRNUL
#endif