mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-29 22:25:04 +00:00
patch so mingw-w64 can build
This commit is contained in:
parent
8f426d7dd2
commit
e613e6ebb8
8
deps/winhttp/urlmon.h
vendored
8
deps/winhttp/urlmon.h
vendored
@ -5,6 +5,8 @@
|
|||||||
* a Linking Exception. For full terms see the included COPYING file.
|
* a Linking Exception. For full terms see the included COPYING file.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__MINGW_VERSION) || defined(__MINGW32_VERSION)
|
||||||
|
|
||||||
#ifndef __CUSTOM_URLMON_H
|
#ifndef __CUSTOM_URLMON_H
|
||||||
#define __CUSTOM_URLMON_H
|
#define __CUSTOM_URLMON_H
|
||||||
|
|
||||||
@ -35,3 +37,9 @@ struct IInternetSecurityManager
|
|||||||
#define URLZONE_TRUSTED 2
|
#define URLZONE_TRUSTED 2
|
||||||
|
|
||||||
#endif /* __CUSTOM_URLMON_H */
|
#endif /* __CUSTOM_URLMON_H */
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#include_next <urlmon.h>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
8
deps/winhttp/winhttp.h
vendored
8
deps/winhttp/winhttp.h
vendored
@ -16,6 +16,8 @@
|
|||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#if defined(__MINGW_VERSION) || defined(__MINGW32_VERSION)
|
||||||
|
|
||||||
#ifndef __WINE_WINHTTP_H
|
#ifndef __WINE_WINHTTP_H
|
||||||
#define __WINE_WINHTTP_H
|
#define __WINE_WINHTTP_H
|
||||||
|
|
||||||
@ -582,3 +584,9 @@ BOOL WINAPI WinHttpWriteData(HINTERNET,LPCVOID,DWORD,LPDWORD);
|
|||||||
#include <poppack.h>
|
#include <poppack.h>
|
||||||
|
|
||||||
#endif /* __WINE_WINHTTP_H */
|
#endif /* __WINE_WINHTTP_H */
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
|
#include_next <winhttp.h>
|
||||||
|
|
||||||
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user