1
0
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:
Delyan Angelov 2019-11-08 15:00:55 +02:00 committed by Alexander Medvednikov
parent 06a7954298
commit bc826173cc

View File

@ -75,7 +75,7 @@ fn (p mut Parser) comp_time() {
p.comptime_if_block('__MINGW32__') p.comptime_if_block('__MINGW32__')
} }
else if name == 'msvc' { else if name == 'msvc' {
p.comptime_if_block('__MSC_VER__') p.comptime_if_block('_MSC_VER')
} }
else if name == 'clang' { else if name == 'clang' {
p.comptime_if_block('__clang__') p.comptime_if_block('__clang__')