[Groonga-commit] groonga/groonga at a2079e6 [master] Check strcasecmp() availability

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Thu Oct 30 20:04:44 JST 2014


Kouhei Sutou	2014-10-30 20:04:44 +0900 (Thu, 30 Oct 2014)

  New Revision: a2079e6d711f2fcbb4e69cb0f3f7230bb01a15ee
  https://github.com/groonga/groonga/commit/a2079e6d711f2fcbb4e69cb0f3f7230bb01a15ee

  Message:
    Check strcasecmp() availability

  Modified files:
    build/ac_macros/check_functions.m4
    lib/grn.h

  Modified: build/ac_macros/check_functions.m4 (+1 -0)
===================================================================
--- build/ac_macros/check_functions.m4    2014-10-30 20:02:07 +0900 (2a61de2)
+++ build/ac_macros/check_functions.m4    2014-10-30 20:04:44 +0900 (841d237)
@@ -8,6 +8,7 @@ AC_CHECK_FUNCS(localtime_r)
 AC_CHECK_FUNCS(mkostemp)
 AC_CHECK_FUNCS(open)
 AC_CHECK_FUNCS(read)
+AC_CHECK_FUNCS(strcasecmp)
 AC_CHECK_FUNCS(strncasecmp)
 AC_CHECK_FUNCS(strtoull)
 AC_CHECK_FUNCS(unlink)

  Modified: lib/grn.h (+1 -1)
===================================================================
--- lib/grn.h    2014-10-30 20:02:07 +0900 (03e691a)
+++ lib/grn.h    2014-10-30 20:04:44 +0900 (ddba348)
@@ -129,7 +129,7 @@
 # if !defined(__GNUC__) && _MSC_VER < 1400
 #  define fstat(fd, buf) _fstat(fd, buf)
 # endif /* !defined(__GNUC__) && _MSC_VER < 1400 */
-# if !defined(strcasecmp)
+# ifndef HAVE_STRCASECMP
 #  define strcasecmp(s1, s2) _stricmp(s1, s2)
 # endif /* !defined(strcasecmp) */
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index