Added definition of KRB5_LIB_FUNCTION (taken from MIT), which seems not to be
[mod_auth_kerb.cvs/.git] / src / mod_auth_kerb.c
index 880b6ea..6ce5ff6 100644 (file)
 #include <unistd.h>
 #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