summaryrefslogtreecommitdiff
path: root/external/epoxy/clang-cl.patch
blob: 0e0232cea68ce88dc6502ca73eaf50d5102ec032 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- src/dispatch_common.c
+++ src/dispatch_common.c
@@ -272,7 +272,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);