mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
fix $if msvc conditional define
This commit is contained in:
parent
06a7954298
commit
bc826173cc
@ -75,7 +75,7 @@ fn (p mut Parser) comp_time() {
|
||||
p.comptime_if_block('__MINGW32__')
|
||||
}
|
||||
else if name == 'msvc' {
|
||||
p.comptime_if_block('__MSC_VER__')
|
||||
p.comptime_if_block('_MSC_VER')
|
||||
}
|
||||
else if name == 'clang' {
|
||||
p.comptime_if_block('__clang__')
|
||||
|
Loading…
Reference in New Issue
Block a user