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: upstream/7.37.1~10885 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58d628c9f8bc682480b8fe576d89abc83d329317;p=platform%2Fupstream%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 e6935e6..365eab1 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) {