Commit 3066026b0468730ac36850c276f6dab7140f2093

Alex Crichton 2014-08-26T11:18:33

Fix build on mingw-w64

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/src/transports/winhttp.c b/src/transports/winhttp.c
index 1d05379..d1eb32a 100644
--- a/src/transports/winhttp.c
+++ b/src/transports/winhttp.c
@@ -51,9 +51,9 @@ static const int no_check_cert_flags = SECURITY_FLAG_IGNORE_CERT_CN_INVALID |
 	SECURITY_FLAG_IGNORE_UNKNOWN_CA;
 
 #if defined(__MINGW32__)
-static const CLSID CLSID_InternetSecurityManager = { 0x7B8A2D94, 0x0AC9, 0x11D1,
+const CLSID CLSID_InternetSecurityManager = { 0x7B8A2D94, 0x0AC9, 0x11D1,
 	{ 0x89, 0x6C, 0x00, 0xC0, 0x4F, 0xB6, 0xBF, 0xC4 } };
-static const IID IID_IInternetSecurityManager = { 0x79EAC9EE, 0xBAF9, 0x11CE,
+const IID IID_IInternetSecurityManager = { 0x79EAC9EE, 0xBAF9, 0x11CE,
 	{ 0x8C, 0x82, 0x00, 0xAA, 0x00, 0x4B, 0xA9, 0x0B } };
 #endif