libmariadb/configs/mac_my_config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 74364dad3fcacc32008f59fab2b5fd8aacd19c9d Author: Stephan Bergmann <[email protected]> Date: Tue Mar 26 21:15:37 2013 +0100 At least Mac OS X SDK 10.7 does have strnlen Change-Id: I35b1299eda7a66c578041be479051031734bc864 diff --git a/libmariadb/configs/mac_my_config.h b/libmariadb/configs/mac_my_config.h index baa4f18..38db37e 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 _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
