From bc826173cc852d0618d826326de82a155db422c7 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Fri, 8 Nov 2019 15:00:55 +0200 Subject: [PATCH] fix $if msvc conditional define --- vlib/compiler/comptime.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/compiler/comptime.v b/vlib/compiler/comptime.v index be16a196ba..5d353a011c 100644 --- a/vlib/compiler/comptime.v +++ b/vlib/compiler/comptime.v @@ -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__')