]> git.proxmox.com Git - mirror_qemu.git/commit
win32: replace closesocket() with close() wrapper
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 21 Feb 2023 12:48:01 +0000 (16:48 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 13 Mar 2023 11:39:31 +0000 (15:39 +0400)
commit25657fc6c1b693096e2ceadaa53cd10c1e81c8d9
tree02de623f13a1d265022ddbdbf7433eb33f929d23
parentb7e5374637daffa49657be2c559a0566836a172f
win32: replace closesocket() with close() wrapper

Use a close() wrapper instead, so that we don't need to worry about
closesocket() vs close() anymore, let's hope.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Message-Id: <20230221124802.4103554-17-marcandre.lureau@redhat.com>
14 files changed:
backends/tpm/tpm_emulator.c
crypto/afalg.c
hw/hyperv/syndbg.c
include/sysemu/os-posix.h
include/sysemu/os-win32.h
io/channel-socket.c
net/dgram.c
net/socket.c
tests/qtest/libqtest.c
tests/qtest/microbit-test.c
tests/qtest/netdev-socket.c
tests/unit/socket-helpers.c
util/oslib-win32.c
util/qemu-sockets.c