aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/xproto/windows_mean_and_lean.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/xproto/windows_mean_and_lean.patch')
-rw-r--r--vcpkg/ports/xproto/windows_mean_and_lean.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/xproto/windows_mean_and_lean.patch b/vcpkg/ports/xproto/windows_mean_and_lean.patch
new file mode 100644
index 0000000..f50e4c8
--- /dev/null
+++ b/vcpkg/ports/xproto/windows_mean_and_lean.patch
@@ -0,0 +1,13 @@
+diff --git a/include/X11/Xwindows.h b/include/X11/Xwindows.h
+index 70e1debd5..236ec96a7 100644
+--- a/include/X11/Xwindows.h
++++ b/include/X11/Xwindows.h
+@@ -54,7 +54,7 @@ The Open Group.
+ *
+ */
+ #define NOMINMAX
+-
++#define WIN32_LEAN_AND_MEAN // Otherwise this will include winsock.h!
+ /*
+ * mingw-w64 headers define BOOL as a typedef, protecting against macros
+ * mingw.org headers define BOOL in terms of WINBOOL