mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 12:02: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);
|
static extern int32 connect(HSocket s, SockAddr* name, int32 nameLen);
|
||||||
|
|
||||||
#if BF_PLATFORM_WINDOWS
|
#if BF_PLATFORM_WINDOWS
|
||||||
[CLink, StdCall]
|
[Import("wsock32.lib"), CLink, StdCall]
|
||||||
static extern int32 closesocket(HSocket s);
|
static extern int32 closesocket(HSocket s);
|
||||||
#else
|
#else
|
||||||
[CLink, StdCall]
|
[CLink, StdCall]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue