aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-09-20 08:29:56 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-09-20 08:29:56 +0000
commit58d628c9f8bc682480b8fe576d89abc83d329317 (patch)
tree7caeb68a186c3921fb09d05e2c21a1ba7113644c /lib
parent1e69394545b1c7585b56f70688e5821d2d270faa (diff)
Uses __stdcall instead of SEC_ENTRY since it seems (at least) mingw doesn't
define SEC_ENTRY and thus fails unless this is done!
Diffstat (limited to 'lib')
-rw-r--r--lib/http_ntlm.c2
1 files changed, 1 insertions, 1 deletions
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) {