From 36bf482db10bb8418e3f59a7fd078e929e7916de Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sun, 14 Jun 2015 15:51:34 +0200 Subject: MDEV-8285 compile fails under Mac OS X 10.6.8 due to use of strnlen #include where strnlen() is used --- strings/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'strings/CMakeLists.txt') diff --git a/strings/CMakeLists.txt b/strings/CMakeLists.txt index 6291d107d90..1e364bc951b 100644 --- a/strings/CMakeLists.txt +++ b/strings/CMakeLists.txt @@ -26,7 +26,7 @@ SET(STRINGS_SOURCES bchange.c bmove_upp.c ctype-big5.c ctype-bin.c ctype-cp932.c my_strchr.c strcont.c strappend.c) IF(NOT HAVE_STRNLEN) - # OSX does not have strnlen + # OSX below 10.7 did not have strnlen SET(STRINGS_SOURCES ${STRINGS_SOURCES} strnlen.c) ENDIF() # Avoid dependencies on perschema data defined in mysys -- cgit v1.2.1