mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 13:38:01 +00:00
DEVEL15-windows-libadmin-closesocket-20080228
LICENSE MIT On Windows close() does not apply to sockets, use closesocket() instead. (cherry picked from commit 502aca9e8ccff36d0c10203c66200e526d2273b3)
This commit is contained in:
parent
7e6a650ce5
commit
47064e9243
@ -24,6 +24,7 @@ RCSID
|
|||||||
#include <afs/afssyscalls.h>
|
#include <afs/afssyscalls.h>
|
||||||
#include <winsock2.h>
|
#include <winsock2.h>
|
||||||
#include <afs/fs_utils.h>
|
#include <afs/fs_utils.h>
|
||||||
|
#define close(x) closesocket(x)
|
||||||
#else
|
#else
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user