From 211c72fce4173b76712ae36bc240ca63c4fc1e31 Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Thu, 29 Apr 2004 23:11:12 +0000 Subject: win32 fixes for apache 1.3 added win32 build script --- (limited to 'apache13.h') diff --git a/apache13.h b/apache13.h index 3b013cc..bf10af2 100644 --- a/apache13.h +++ b/apache13.h @@ -8,7 +8,7 @@ #include "http_core.h" /* Defines */ -#define AP_MODULE_DECLARE_DATA +#define AP_MODULE_DECLARE_DATA MODULE_VAR_EXPORT #define APR_OFF_T_FMT "ld" #define APR_PID_T_FMT "d" #define APR_SUCCESS 0 @@ -72,9 +72,13 @@ #define apr_tolower ap_tolower -static void log_error(char *file, int line, int level, apr_status_t status, +void log_error(char *file, int line, int level, apr_status_t status, const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 6,7))); -static inline void log_error(char *file, int line, int level, + +#ifndef WIN32 +inline +#endif +void log_error(char *file, int line, int level, apr_status_t status, const server_rec *s, const char *fmt, ...) { static char buff[MAX_STRING_LEN]; -- cgit v0.9.2