aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/xproto/windows_mean_and_lean.patch
blob: f50e4c8806f941c309cb77328977bc03ca728011 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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