mirror of
https://github.com/vlang/v.git
synced 2025-09-15 23:42:28 +03:00
disable $if for headers for now
This commit is contained in:
parent
6db7518189
commit
4cd9099f74
3 changed files with 6 additions and 11 deletions
|
@ -31,7 +31,7 @@ fn (p mut Parser) comp_time() {
|
|||
}
|
||||
p.check(.lcbr)
|
||||
os := os_from_string(name)
|
||||
if p.fileis('runtime.v') && os != p.os {
|
||||
if false && p.fileis('runtime.v') && os != p.os {
|
||||
// `$if os {` for a different target, skip everything inside
|
||||
// to avoid compilation errors (like including <windows.h>
|
||||
// on non-Windows systems)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue