1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

os,net: cleanup deprecated @VROOT usages

This commit is contained in:
Delyan Angelov
2021-09-19 16:16:31 +03:00
parent b343f19bec
commit 7bd145d88a
7 changed files with 6 additions and 17 deletions

View File

@@ -3,7 +3,7 @@ module net
$if windows {
// This is mainly here for tcc on windows
// which apparently doesnt have this definition
#include "@VROOT/vlib/net/ipv6_v6only.h"
#include "@VMODROOT/vlib/net/ipv6_v6only.h"
}
// Select represents a select operation

View File

@@ -7,7 +7,7 @@ $if windows {
#include <ws2tcpip.h>
#include <afunix.h>
} $else {
#include "@VROOT/vlib/net/afunix.h"
#include "@VMODROOT/vlib/net/afunix.h"
}
} $else {
#include <sys/un.h>