Skip to content

Commit

Permalink
platform: strchrnul is missing if __APPLE__
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Borca <dborca@yahoo.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
  • Loading branch information
dborca authored and Denys Vlasenko committed Nov 26, 2013
1 parent 195c436 commit d9fc4d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d9fc4d8

Please sign in to comment.