diff options
author | Ingela Anderton Andin <[email protected]> | 2010-10-18 10:39:53 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2010-10-18 10:39:53 +0200 |
commit | 4517dc3f3ec6c329693d1570c61954fa593e6159 (patch) | |
tree | 51a8ac610d269c6e6047c5ee8a215f4c3bdfed69 /lib/odbc/c_src/odbcserver.c | |
parent | f538ae0a22dabe5f5b0e40e0660aeaea0f5c0768 (diff) | |
download | otp-4517dc3f3ec6c329693d1570c61954fa593e6159.tar.gz otp-4517dc3f3ec6c329693d1570c61954fa593e6159.tar.bz2 otp-4517dc3f3ec6c329693d1570c61954fa593e6159.zip |
Ipv6 should be supported on non windows.
Diffstat (limited to 'lib/odbc/c_src/odbcserver.c')
-rw-r--r-- | lib/odbc/c_src/odbcserver.c | 6 |
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) |