diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-06-14 15:51:34 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-06-14 15:51:34 +0200 |
commit | 36bf482db10bb8418e3f59a7fd078e929e7916de (patch) | |
tree | cf6d9959176fb8d981660b88b0dc8f531ea835dd /strings | |
parent | e2879ac52654253a41b16c3b174b03dda5742886 (diff) | |
download | mariadb-git-36bf482db10bb8418e3f59a7fd078e929e7916de.tar.gz |
MDEV-8285 compile fails under Mac OS X 10.6.8 due to use of strnlen
#include <m_string.h> where strnlen() is used
Diffstat (limited to 'strings')
-rw-r--r-- | strings/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |