1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Merge pull request #158 from IamSanjid/patch-1

Fixing `closesocket` linking error.
This commit is contained in:
Brian Fiete 2020-05-02 06:12:45 -07:00 committed by GitHub
commit 904f907f1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -148,7 +148,7 @@ namespace System.Net
static extern int32 connect(HSocket s, SockAddr* name, int32 nameLen);
#if BF_PLATFORM_WINDOWS
[CLink, StdCall]
[Import("wsock32.lib"), CLink, StdCall]
static extern int32 closesocket(HSocket s);
#else
[CLink, StdCall]