mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: prevent unnecessary dependencies when importing os
on windows (#6741)
This commit is contained in:
parent
cd399b7e6e
commit
cc4bb71f29
@ -2,8 +2,6 @@ module os
|
|||||||
|
|
||||||
import strings
|
import strings
|
||||||
|
|
||||||
#flag -lws2_32
|
|
||||||
#include <winsock2.h>
|
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
pub const (
|
pub const (
|
||||||
path_separator = '\\'
|
path_separator = '\\'
|
||||||
|
Loading…
Reference in New Issue
Block a user