From: Daniel Stenberg Date: Tue, 20 Sep 2005 08:29:56 +0000 (+0000) Subject: Uses __stdcall instead of SEC_ENTRY since it seems (at least) mingw doesn't X-Git-Tag: curl-7_15_0~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58d628c9f8bc682480b8fe576d89abc83d329317;p=thirdparty%2Fcurl.git Uses __stdcall instead of SEC_ENTRY since it seems (at least) mingw doesn't define SEC_ENTRY and thus fails unless this is done! --- diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index e6935e65fc..365eab1045 100644 --- a/lib/http_ntlm.c +++ b/lib/http_ntlm.c @@ -454,7 +454,7 @@ CURLcode Curl_output_ntlm(struct connectdata *conn, if (status == SEC_I_COMPLETE_AND_CONTINUE || status == SEC_I_CONTINUE_NEEDED) { /* CompleteAuthToken() is not present in Win9x, so load it dynamically */ - SECURITY_STATUS (SEC_ENTRY * pCompleteAuthToken) + SECURITY_STATUS (__stdcall * pCompleteAuthToken) (PCtxtHandle,PSecBufferDesc); HMODULE hSecur32 = GetModuleHandle("secur32.dll"); if (hSecur32 != NULL) {