mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Remove automatic win32 cleanup. RC2
This commit is contained in:
@@ -44,7 +44,7 @@ macro void? start_wsa()
|
||||
}
|
||||
}
|
||||
|
||||
fn void close_wsa() @local @finalizer
|
||||
fn void close_wsa()
|
||||
{
|
||||
if (mem::compare_exchange(&wsa_init, 1, 0) == 1)
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
module std::os::win32 @if(env::WIN32);
|
||||
module std::os::win32 @if(env::WIN32) @link("ws2_32");
|
||||
|
||||
// See https://github.com/wine-mirror/wine/blob/master/include/winsock2.h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user