Skip to content
Snippets Groups Projects
Commit 58d628c9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Uses __stdcall instead of SEC_ENTRY since it seems (at least) mingw doesn't

define SEC_ENTRY and thus fails unless this is done!
parent 1e693945
No related branches found
No related tags found
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment