From: kouril Date: Mon, 6 Nov 2006 15:48:45 +0000 (+0000) Subject: Added definition of KRB5_LIB_FUNCTION (taken from MIT), which seems not to be X-Git-Tag: v5.2~1 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mod_auth_kerb.cvs%2F.git;a=commitdiff_plain;h=69a14de88d66ae6b447bf4ef49f470ab0d3bb9c7 Added definition of KRB5_LIB_FUNCTION (taken from MIT), which seems not to be included sometimes (MIT 1.5.1). --- diff --git a/src/mod_auth_kerb.c b/src/mod_auth_kerb.c index 880b6ea..6ce5ff6 100644 --- a/src/mod_auth_kerb.c +++ b/src/mod_auth_kerb.c @@ -118,6 +118,14 @@ #include #endif +#ifndef KRB5_LIB_FUNCTION +# if defined(_WIN32) +# define KRB5_LIB_FUNCTION _stdcall +# else +# define KRB5_LIB_FUNCTION +# endif +#endif + #ifdef STANDARD20_MODULE_STUFF module AP_MODULE_DECLARE_DATA auth_kerb_module; #else