[Groonga-commit] groonga/groonga at 7e95380 [master] Use WIN32 to check io.h availability

Back to archive index

Kouhei Sutou null+****@clear*****
Sun May 3 13:13:26 JST 2015


Kouhei Sutou	2015-05-03 13:13:26 +0900 (Sun, 03 May 2015)

  New Revision: 7e95380533fd2c8a61a65c27353f177f17ce6276
  https://github.com/groonga/groonga/commit/7e95380533fd2c8a61a65c27353f177f17ce6276

  Message:
    Use WIN32 to check io.h availability

  Modified files:
    build/ac_macros/check_headers.m4
    config.h.cmake
    src/groonga.c

  Modified: build/ac_macros/check_headers.m4 (+0 -1)
===================================================================
--- build/ac_macros/check_headers.m4    2015-05-03 13:11:28 +0900 (2c4e8ab)
+++ build/ac_macros/check_headers.m4    2015-05-03 13:13:26 +0900 (cb058a8)
@@ -5,7 +5,6 @@ AC_CHECK_HEADERS(dlfcn.h)
 AC_CHECK_HEADERS(errno.h)
 AC_CHECK_HEADERS(execinfo.h)
 AC_CHECK_HEADERS(inttypes.h)
-AC_CHECK_HEADERS(io.h)
 AC_CHECK_HEADERS(netdb.h)
 AC_CHECK_HEADERS(netinet/in.h)
 AC_CHECK_HEADERS(netinet/tcp.h)

  Modified: config.h.cmake (+0 -1)
===================================================================
--- config.h.cmake    2015-05-03 13:11:28 +0900 (862208a)
+++ config.h.cmake    2015-05-03 13:13:26 +0900 (83a6542)
@@ -98,7 +98,6 @@
 #cmakedefine HAVE_ERRNO_H
 #cmakedefine HAVE_EXECINFO_H
 #cmakedefine HAVE_INTTYPES_H
-#cmakedefine HAVE_IO_H
 #cmakedefine HAVE_LINUX_FUTEX_H
 #cmakedefine HAVE_MEMORY_H
 #cmakedefine HAVE_NETDB_H

  Modified: src/groonga.c (+2 -2)
===================================================================
--- src/groonga.c    2015-05-03 13:11:28 +0900 (262c4de)
+++ src/groonga.c    2015-05-03 13:13:26 +0900 (1817d60)
@@ -51,9 +51,9 @@
 # include <sys/sysctl.h>
 #endif /* HAVE_SYS_SYSCTL_H */
 
-#ifdef HAVE_IO_H
+#ifdef WIN32
 # include <io.h>
-#endif /* HAVE_IO_H */
+#endif /* WIN32 */
 
 #ifdef HAVE__STRNICMP
 # ifdef strncasecmp
-------------- next part --------------
HTML����������������������������...
Download 



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