fix $if msvc conditional define

pull/2702/head
Delyan Angelov 2019-11-08 15:00:55 +02:00 committed by Alexander Medvednikov
parent 06a7954298
commit bc826173cc
1 changed files with 1 additions and 1 deletions

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__')