Changeset: 158661a9cc02 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=158661a9cc02
Modified Files:
        cmake/monetdb-defines.cmake
Branch: mbedded
Log Message:

added check for getaddrinfo for windows


diffs (11 lines):

diff --git a/cmake/monetdb-defines.cmake b/cmake/monetdb-defines.cmake
--- a/cmake/monetdb-defines.cmake
+++ b/cmake/monetdb-defines.cmake
@@ -57,6 +57,7 @@ function(monetdb_configure_defines)
   # Linux specific, in the future, it might be ported to other platforms
   check_symbol_exists("S_ISREG" "sys/stat.h" HAVE_SYS_STAT_H)
   check_symbol_exists("getaddrinfo" "netdb.h" HAVE_GETADDRINFO)
+  check_symbol_exists("getaddrinfo" "ws2tcpip.h" HAVE_GETADDRINFO)
   #check_symbol_exists("WSADATA" "winsock2.h" HAVE_WINSOCK_H)
   check_symbol_exists("fdatasync" "unistd.h" HAVE_FDATASYNC)
 
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to