From a91b95cca2d397c84f8b9bbd602d40209a7092ce Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Wed, 20 Jan 2021 21:52:54 +0100 Subject: Update Gnulib to v0.1-4379-g2ef5a9b4b Also bump required autoconf version to 2.64, as required by Gnulib. --- lib/socket.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/socket.c') diff --git a/lib/socket.c b/lib/socket.c index 1c3500ad8..85252603d 100644 --- a/lib/socket.c +++ b/lib/socket.c @@ -1,6 +1,6 @@ /* socket.c --- wrappers for Windows socket function - Copyright (C) 2008-2017 Free Software Foundation, Inc. + Copyright (C) 2008-2021 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by @@ -13,7 +13,7 @@ GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License - along with this program. If not, see . */ + along with this program. If not, see . */ /* Written by Paolo Bonzini */ @@ -28,6 +28,10 @@ #include "sockets.h" +/* Don't assume that UNICODE is defined. */ +#undef WSASocket +#define WSASocket WSASocketW + int rpl_socket (int domain, int type, int protocol) { -- cgit v1.2.3