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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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) {