mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
Uses __stdcall instead of SEC_ENTRY since it seems (at least) mingw doesn't
define SEC_ENTRY and thus fails unless this is done!
This commit is contained in:
parent
1e69394545
commit
58d628c9f8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user