mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Merge pull request #158 from IamSanjid/patch-1
Fixing `closesocket` linking error.
This commit is contained in:
commit
904f907f1d
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue