aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-09-07 10:38:39 +0200
committerBjörn Gustavsson <[email protected]>2011-09-08 13:15:57 +0200
commit293e2c2fa1c0cca21c941fd15033d3251dfa0711 (patch)
tree8476518fd3b5d4f82f47b138a4dae759995a7c1b
parent3fcc5534a40dbe9af99f5e2a84c9e56130cf0464 (diff)
downloadotp-293e2c2fa1c0cca21c941fd15033d3251dfa0711.tar.gz
otp-293e2c2fa1c0cca21c941fd15033d3251dfa0711.tar.bz2
otp-293e2c2fa1c0cca21c941fd15033d3251dfa0711.zip
erts/configure.in: Remove broken support for System V
If we are compiling on System V, the symbols NO_WEAK_PRAGMA and SOCKOPT_CONNECT_STAT are defined, but they are never used.
-rw-r--r--erts/configure.in10
-rw-r--r--erts/emulator/drivers/common/inet_drv.c4
2 files changed, 2 insertions, 12 deletions
diff --git a/erts/configure.in b/erts/configure.in
index bea1e14859..77ea7a2471 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -907,16 +907,6 @@ fi
AC_SUBST(ERLANG_OSTYPE)
-dnl Which sysv4 would this be, and what is it for???
-dnl XXX: replace with feature tests.
-case $host_os in
- sysv4*)
- AC_DEFINE(SOCKOPT_CONNECT_STAT,[],[Obscure SYSV feature])
- AC_DEFINE(NO_PRAGMA_WEAK,[],[Obscure SYSV feature])
- LIBS="$LIBS -lgen -lc -L /usr/ucblib -lucb"
- ;;
-esac
-
# Check how to export functions from the emulator executable, needed
# when dynamically loaded drivers are loaded (so that they can find
# emulator functions).
diff --git a/erts/emulator/drivers/common/inet_drv.c b/erts/emulator/drivers/common/inet_drv.c
index ebc4469a23..df1f19c482 100644
--- a/erts/emulator/drivers/common/inet_drv.c
+++ b/erts/emulator/drivers/common/inet_drv.c
@@ -9308,7 +9308,7 @@ static int tcp_inet_output(tcp_descriptor* desc, HANDLE event)
goto done;
}
}
-#endif /* SOCKOPT_CONNECT_STAT */
+#endif /* SO_ERROR */
#endif /* !__WIN32__ */
desc->inet.state = TCP_STATE_CONNECTED;
@@ -10113,7 +10113,7 @@ static int packet_inet_output(udp_descriptor* udesc, HANDLE event)
goto done;
}
}
-#endif /* SOCKOPT_CONNECT_STAT */
+#endif /* SO_ERROR */
#endif /* !__WIN32__ */
desc->state = PACKET_STATE_CONNECTED;