aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/python3/0015-dont-use-WINDOWS-def.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/python3/0015-dont-use-WINDOWS-def.patch')
-rw-r--r--vcpkg/ports/python3/0015-dont-use-WINDOWS-def.patch9
1 files changed, 9 insertions, 0 deletions
diff --git a/vcpkg/ports/python3/0015-dont-use-WINDOWS-def.patch b/vcpkg/ports/python3/0015-dont-use-WINDOWS-def.patch
new file mode 100644
index 0000000..f06f6e9
--- /dev/null
+++ b/vcpkg/ports/python3/0015-dont-use-WINDOWS-def.patch
@@ -0,0 +1,9 @@
+--- a/PC/launcher.c
++++ b/PC/launcher.c
+@@ -1,3 +1,6 @@
++#if defined(_CONSOLE)
++#undef _WINDOWS
++#endif
+ /*
+ * Copyright (C) 2011-2013 Vinay Sajip.
+ * Licensed to PSF under a contributor agreement.