Added definition of KRB5_LIB_FUNCTION (taken from MIT), which seems not to be
authorkouril <kouril>
Mon, 6 Nov 2006 15:48:45 +0000 (15:48 +0000)
committerkouril <kouril>
Mon, 6 Nov 2006 15:48:45 +0000 (15:48 +0000)
included sometimes (MIT 1.5.1).

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