[PATCH 1/3] platform: fix missing strchrnul
Daniel Borca
dborca at yahoo.com
Tue Nov 26 19:52:49 UTC 2013
strchrnul() is a GNU extension
-dborca
-------------- next part --------------
Signed-off-by: Daniel Borca <dborca at yahoo.com>
---
include/platform.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/platform.h b/include/platform.h
index 0fa9f61..cfc8029 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
--
1.7.4.4
More information about the busybox
mailing list