From 58d628c9f8bc682480b8fe576d89abc83d329317 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 20 Sep 2005 08:29:56 +0000 Subject: Uses __stdcall instead of SEC_ENTRY since it seems (at least) mingw doesn't define SEC_ENTRY and thus fails unless this is done! --- lib/http_ntlm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http_ntlm.c b/lib/http_ntlm.c index e6935e65f..365eab104 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) { -- cgit v1.2.3