diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-26 21:15:37 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-26 21:17:37 +0100 |
commit | 74364dad3fcacc32008f59fab2b5fd8aacd19c9d (patch) | |
tree | 8e82d0ec5f52a305ef4f5f9729af5749cec7274d /libmariadb | |
parent | Translate German comments, fix some ws (diff) | |
download | core-74364dad3fcacc32008f59fab2b5fd8aacd19c9d.tar.gz core-74364dad3fcacc32008f59fab2b5fd8aacd19c9d.zip |
At least Mac OS X SDK 10.7 does have strnlen
Change-Id: I35b1299eda7a66c578041be479051031734bc864
Diffstat (limited to 'libmariadb')
-rw-r--r-- | libmariadb/configs/mac_my_config.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libmariadb/configs/mac_my_config.h b/libmariadb/configs/mac_my_config.h index baa4f189a32a..38db37e3cef9 100644 --- a/libmariadb/configs/mac_my_config.h +++ b/libmariadb/configs/mac_my_config.h @@ -140,7 +140,9 @@ #define HAVE_STPCPY 1 #define HAVE_STRERROR 1 #define HAVE_STRLCPY 1 -/* #undef HAVE_STRNLEN */ +#if MACOSX_SDK_VERSION >= 1070 +#define HAVE_STRNLEN 1 +#endif #define HAVE_STRPBRK 1 #define HAVE_STRSEP 1 #define HAVE_STRSTR 1 |