diff options
author | Ingela Anderton Andin <[email protected]> | 2010-11-01 14:48:04 +0100 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2010-11-01 14:48:04 +0100 |
commit | 626d906d3ad46d46a6c90cf3239fd60bad5dc318 (patch) | |
tree | 531bd2084dfb32f2ca1f8362753726e5e44eb61f /lib/odbc/c_src/odbcserver.c | |
parent | 95188ca3a848a1bcb1412d922eb6b13deccf9267 (diff) | |
download | otp-626d906d3ad46d46a6c90cf3239fd60bad5dc318.tar.gz otp-626d906d3ad46d46a6c90cf3239fd60bad5dc318.tar.bz2 otp-626d906d3ad46d46a6c90cf3239fd60bad5dc318.zip |
Better configure test that also works on windows.
Diffstat (limited to 'lib/odbc/c_src/odbcserver.c')
-rw-r--r-- | lib/odbc/c_src/odbcserver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/odbc/c_src/odbcserver.c b/lib/odbc/c_src/odbcserver.c index 78a6fc41a8..84b9a99192 100644 --- a/lib/odbc/c_src/odbcserver.c +++ b/lib/odbc/c_src/odbcserver.c @@ -1741,7 +1741,7 @@ static int connect_to_erlang(const char *port) #endif struct sockaddr_in sin; -#if defined(AF_INET6) +#if defined(HAVE_STRUCT_SOCKADDR_IN6_SIN6_ADDR) && defined(AF_INET6) struct sockaddr_in6 sin6; sock = socket(AF_INET6, SOCK_STREAM, 0); |