aboutsummaryrefslogtreecommitdiffstats
path: root/lib/odbc/c_src
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2010-10-18 10:39:53 +0200
committerIngela Anderton Andin <[email protected]>2010-10-18 10:39:53 +0200
commit4517dc3f3ec6c329693d1570c61954fa593e6159 (patch)
tree51a8ac610d269c6e6047c5ee8a215f4c3bdfed69 /lib/odbc/c_src
parentf538ae0a22dabe5f5b0e40e0660aeaea0f5c0768 (diff)
downloadotp-4517dc3f3ec6c329693d1570c61954fa593e6159.tar.gz
otp-4517dc3f3ec6c329693d1570c61954fa593e6159.tar.bz2
otp-4517dc3f3ec6c329693d1570c61954fa593e6159.zip
Ipv6 should be supported on non windows.
Diffstat (limited to 'lib/odbc/c_src')
-rw-r--r--lib/odbc/c_src/odbcserver.c6
1 files changed, 1 insertions, 5 deletions
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)