From d9fc4d8f9249dcbbccb0007a3c609ed9ddaf5d72 Mon Sep 17 00:00:00 2001 From: Daniel Borca Date: Wed, 27 Nov 2013 00:27:46 +0100 Subject: platform: strchrnul is missing if __APPLE__ Signed-off-by: Daniel Borca Signed-off-by: Denys Vlasenko --- include/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/platform.h') 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 -- cgit v1.2.3