summaryrefslogtreecommitdiffstats
path: root/external/epoxy/clang-cl.patch
blob: 80b49127104b6b8d1f7f92cac91bb9c9a42e899d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/dispatch_common.c
+++ src/dispatch_common.c
@@ -190,7 +190,11 @@
 #endif
 };
 
+#if defined _MSC_VER && defined __clang__
+static bool library_initialized = true;
+#else
 static bool library_initialized;
+#endif
 
 static bool epoxy_current_context_is_glx(void);