mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-12 08:49:11 +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)
|