]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/main-windows.cpp
Put brackets around ipv6 addresses in `inet6 present`
[factor.git] / vm / main-windows.cpp
index f9c6ae5baa8f4c69742e2d1943a2cee8e52e45c4..4d6eddedd8a4420fc443f67f9ac4ea5104fd42ff 100644 (file)
@@ -9,13 +9,17 @@ VM_C_API int wmain(int argc, wchar_t** argv) {
     factor::fatal_error("DuplicateHandle() failed", GetLastError());
     return 1;
   }
-  factor::init_globals();
+  factor::init_mvm();
   factor::start_standalone_factor(argc, argv);
   return 0;
 }
 
 int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
                    LPSTR lpCmdLine, int nCmdShow) {
+  (void)hInstance;
+  (void)hPrevInstance;
+  (void)lpCmdLine;
+  (void)nCmdShow;
   int argc;
   wchar_t** argv = CommandLineToArgvW(GetCommandLine(), &argc);
   wmain(argc, argv);