mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-13 05:09:01 +08:00
14 lines
433 B
Diff
14 lines
433 B
Diff
|
diff --git a/PC/launcher.c b/PC/launcher.c
|
||
|
index 734e75333..7124927cf 100644
|
||
|
--- a/PC/launcher.c
|
||
|
+++ b/PC/launcher.c
|
||
|
@@ -2015,7 +2015,7 @@ installed, use -0 for available pythons", &p[1]);
|
||
|
return rc;
|
||
|
}
|
||
|
|
||
|
-#if defined(_WINDOWS)
|
||
|
+#if !defined(_CONSOLE) // _WINDOWS is defined by the vcpkg toolchain
|
||
|
|
||
|
int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
||
|
LPWSTR lpstrCmd, int nShow)
|