[Libreoffice-commits] core.git: libmariadb/configs

Stephan Bergmann sbergman at redhat.com
Tue Mar 26 13:18:00 PDT 2013


 libmariadb/configs/mac_my_config.h |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 74364dad3fcacc32008f59fab2b5fd8aacd19c9d
Author: Stephan Bergmann <sbergman at redhat.com>
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


More information about the Libreoffice-commits mailing list