Hello,

the subject says it all. The patch is in the attachment.

BR,
Martin Mitas
diff --git a/mingw-w64-headers/include/winhttp.h 
b/mingw-w64-headers/include/winhttp.h
index 1577c76c..1713f5b5 100644
--- a/mingw-w64-headers/include/winhttp.h
+++ b/mingw-w64-headers/include/winhttp.h
@@ -45,7 +45,9 @@ typedef INTERNET_PORT *LPINTERNET_PORT;
 #define INTERNET_SCHEME_SOCKS           4
 typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME;
 
-#define ICU_ESCAPE  0x80000000
+#define ICU_ESCAPE              0x80000000
+#define ICU_ESCAPE_AUTHORITY    0x00002000
+#define ICU_REJECT_USERPWD      0x00004000
 
 /* flags for WinHttpOpen */
 #define WINHTTP_FLAG_ASYNC                  0x10000000
@@ -62,6 +64,7 @@ typedef int INTERNET_SCHEME, *LPINTERNET_SCHEME;
 #define WINHTTP_ACCESS_TYPE_DEFAULT_PROXY   0
 #define WINHTTP_ACCESS_TYPE_NO_PROXY        1
 #define WINHTTP_ACCESS_TYPE_NAMED_PROXY     3
+#define WINHTTP_ACCESS_TYPE_AUTOMATIC_PROXY 4
 
 #define WINHTTP_NO_PROXY_NAME               NULL
 #define WINHTTP_NO_PROXY_BYPASS             NULL
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to