Commit 820ad97d authored by Andreas Gustafsson's avatar Andreas Gustafsson

backed out DEC OSF1 _SOCKADDR_LEN definition, it breaks send() and recv()

parent ff64dc5d
......@@ -1901,18 +1901,14 @@ EOF
;;
*-dec-osf*)
cat >> confdefs.h <<\EOF
#define _SOCKADDR_LEN 1
EOF
;;
;;
esac
echo $ac_n "checking for sa_len in struct sockaddr""... $ac_c" 1>&6
echo "configure:1914: checking for sa_len in struct sockaddr" >&5
echo "configure:1910: checking for sa_len in struct sockaddr" >&5
cat > conftest.$ac_ext <<EOF
#line 1916 "configure"
#line 1912 "configure"
#include "confdefs.h"
#include <sys/socket.h>
EOF
......
......@@ -13,7 +13,7 @@ dnl PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
dnl ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
dnl SOFTWARE.
AC_REVISION($Revision: 1.25 $)
AC_REVISION($Revision: 1.26 $)
AC_PREREQ(2.12)
......@@ -236,9 +236,10 @@ case "$host" in
AC_DEFINE(NEED_AF_INET6)
;;
*-dec-osf*)
dnl 4.4BSD sa_len support is not turned on
dnl by default, see netintro(7)
AC_DEFINE(_SOCKADDR_LEN)
dnl Turn on 4.4BSD style sa_len support.
dnl (Disabled for now because it is incompatible
dnl with the use of send() and recv()).
dnl AC_DEFINE(_SOCKADDR_LEN)
;;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment