Uses __stdcall instead of SEC_ENTRY since it seems (at least) mingw doesn't
authorDaniel Stenberg <daniel@haxx.se>
Tue, 20 Sep 2005 08:29:56 +0000 (08:29 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 20 Sep 2005 08:29:56 +0000 (08:29 +0000)
define SEC_ENTRY and thus fails unless this is done!

lib/http_ntlm.c

index e6935e6..365eab1 100644 (file)
@@ -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) {