platform: strchrnul is missing if __APPLE__
authorDaniel Borca <dborca@yahoo.com>
Tue, 26 Nov 2013 23:27:46 +0000 (00:27 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 26 Nov 2013 23:27:46 +0000 (00:27 +0100)
Signed-off-by: Daniel Borca <dborca@yahoo.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/platform.h

index 0fa9f61822e923b335b0f3a84f622c7182c31d82..cfc8029077f30c520a579066e02790439323f7c9 100644 (file)
@@ -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