From 44e56d09c1e8668aa081b98725697bb43fc6fb20 Mon Sep 17 00:00:00 2001 From: Pouya Rahju <113666073+PouyaRahju@users.noreply.github.com> Date: Sat, 21 Jan 2023 11:00:24 -0800 Subject: [PATCH] Change "Winhttp" to "winhttp" This works in all C compilers. --- WinHttpClient/winhttpclient.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WinHttpClient/winhttpclient.h b/WinHttpClient/winhttpclient.h index 3751682..34b9797 100644 --- a/WinHttpClient/winhttpclient.h +++ b/WinHttpClient/winhttpclient.h @@ -2,9 +2,9 @@ #define WIN_HTTP_H #include -#include +#include -#pragma comment(lib, "Winhttp.lib") +#pragma comment(lib, "winhttp.lib") static const unsigned int INT_RETRYTIMES = 3; static wchar_t *SZ_AGENT = L"WinHttpClient"; @@ -36,4 +36,4 @@ void SetUserAgent(const wchar_t *useragent); int getLastError(); int SendHttpRequest(const wchar_t *verb, wchar_t *url, unsigned char *sendbuf,int sendbuflen, char *output,BOOL proxyFlah); -#endif \ No newline at end of file +#endif