[Groonga-commit] groonga/groonga at 554c8b7 [master] Remove needless _stricmp() check

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 27 17:46:26 JST 2015


Kouhei Sutou	2015-07-27 17:46:26 +0900 (Mon, 27 Jul 2015)

  New Revision: 554c8b74b3ad3c0d1bec6aac470c8eb3190277ac
  https://github.com/groonga/groonga/commit/554c8b74b3ad3c0d1bec6aac470c8eb3190277ac

  Message:
    Remove needless _stricmp() check

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

  Modified: build/ac_macros/check_functions.m4 (+0 -1)
===================================================================
--- build/ac_macros/check_functions.m4    2015-07-27 17:46:05 +0900 (41b88ed)
+++ build/ac_macros/check_functions.m4    2015-07-27 17:46:26 +0900 (a0b424b)
@@ -2,7 +2,6 @@
 
 AC_CHECK_FUNCS(_gmtime64_s)
 AC_CHECK_FUNCS(_localtime64_s)
-AC_CHECK_FUNCS(_stricmp)
 AC_CHECK_FUNCS(_strtoui64)
 AC_CHECK_FUNCS(gmtime_r)
 AC_CHECK_FUNCS(localtime_r)

  Modified: config.h.cmake (+0 -1)
===================================================================
--- config.h.cmake    2015-07-27 17:46:05 +0900 (e314973)
+++ config.h.cmake    2015-07-27 17:46:26 +0900 (73f1496)
@@ -129,7 +129,6 @@
 /* functions */
 #cmakedefine HAVE__GMTIME64_S
 #cmakedefine HAVE__LOCALTIME64_S
-#cmakedefine HAVE__STRICMP
 #cmakedefine HAVE__STRTOUI64
 #cmakedefine HAVE_BACKTRACE
 #cmakedefine HAVE_CLOCK

  Modified: lib/grn.h (+0 -6)
===================================================================
--- lib/grn.h    2015-07-27 17:46:05 +0900 (dbe9433)
+++ lib/grn.h    2015-07-27 17:46:26 +0900 (c5adb99)
@@ -96,12 +96,6 @@
 # if !defined(__GNUC__) && _MSC_VER < 1400
 #  define fstat(fd, buf) _fstat(fd, buf)
 # endif /* !defined(__GNUC__) && _MSC_VER < 1400 */
-# ifdef HAVE__STRICMP
-#  ifdef strcasecmp
-#   undef strcasecmp
-#  endif /* strcasecmp */
-#  define strcasecmp(s1, s2) _stricmp(s1, s2)
-# endif /* defined(HAVE__STRICMP) */
 
 # ifndef __GNUC__
 typedef SSIZE_T ssize_t;
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index