From 4517dc3f3ec6c329693d1570c61954fa593e6159 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Mon, 18 Oct 2010 10:39:53 +0200 Subject: Ipv6 should be supported on non windows. --- lib/odbc/c_src/odbcserver.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/odbc/c_src') diff --git a/lib/odbc/c_src/odbcserver.c b/lib/odbc/c_src/odbcserver.c index c9627e9d05..15621abb50 100644 --- a/lib/odbc/c_src/odbcserver.c +++ b/lib/odbc/c_src/odbcserver.c @@ -1727,12 +1727,8 @@ static byte * receive_erlang_port_msg(void) } /* ------------- Socket communication functions --------------------------*/ -#define USE_IPV4 -#ifdef UNIX -#define SOCKET int -#endif -#if defined WIN32 || defined USE_IPV4 +#if defined WIN32 /* Currently only an old windows compiler is supported so we do not have ipv6 capabilities */ static SOCKET connect_to_erlang(const char *port) -- cgit v1.2.3