From 6af54d0207bfcbfcda4b57a9b62a88b7f0720154 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 20 Dec 2019 02:19:21 +0300 Subject: [PATCH] fix windows build --- vlib/compiler/msvc.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vlib/compiler/msvc.v b/vlib/compiler/msvc.v index bf20c918df..878ac425fe 100644 --- a/vlib/compiler/msvc.v +++ b/vlib/compiler/msvc.v @@ -3,7 +3,7 @@ module compiler import os #flag windows -l shell32 -#flag windows -l dbghelp // RegOpenKeyExW etc +#flag windows -l dbghelp #flag windows -l advapi32 struct MsvcResult { full_cl_exe_path string @@ -16,6 +16,7 @@ struct MsvcResult { vs_include_path string shared_include_path string } +// shell32 for RegOpenKeyExW etc // Mimics a HKEY type RegKey voidptr