diff options
author | Edward Rudd | 2004-04-29 23:11:12 +0000 |
---|---|---|
committer | Edward Rudd | 2004-04-29 23:11:12 +0000 |
commit | 211c72fce4173b76712ae36bc240ca63c4fc1e31 (patch) | |
tree | 6b775e64b874627079f9b037e5236f8dcf6e25b7 /apache13.h | |
parent | 482c6dba5db896d06099737e8a75be6a3949b492 (diff) |
win32 fixes for apache 1.3
added win32 build script
Diffstat (limited to 'apache13.h')
-rw-r--r-- | apache13.h | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -8,7 +8,7 @@ | |||
8 | #include "http_core.h" | 8 | #include "http_core.h" |
9 | 9 | ||
10 | /* Defines */ | 10 | /* Defines */ |
11 | #define AP_MODULE_DECLARE_DATA | 11 | #define AP_MODULE_DECLARE_DATA MODULE_VAR_EXPORT |
12 | #define APR_OFF_T_FMT "ld" | 12 | #define APR_OFF_T_FMT "ld" |
13 | #define APR_PID_T_FMT "d" | 13 | #define APR_PID_T_FMT "d" |
14 | #define APR_SUCCESS 0 | 14 | #define APR_SUCCESS 0 |
@@ -72,9 +72,13 @@ | |||
72 | 72 | ||
73 | #define apr_tolower ap_tolower | 73 | #define apr_tolower ap_tolower |
74 | 74 | ||
75 | static void log_error(char *file, int line, int level, apr_status_t status, | 75 | void log_error(char *file, int line, int level, apr_status_t status, |
76 | const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 6,7))); | 76 | const server_rec *s, const char *fmt, ...) __attribute__ ((format (printf, 6,7))); |
77 | static inline void log_error(char *file, int line, int level, | 77 | |
78 | #ifndef WIN32 | ||
79 | inline | ||
80 | #endif | ||
81 | void log_error(char *file, int line, int level, | ||
78 | apr_status_t status, const server_rec *s, const char *fmt, ...) | 82 | apr_status_t status, const server_rec *s, const char *fmt, ...) |
79 | { | 83 | { |
80 | static char buff[MAX_STRING_LEN]; | 84 | static char buff[MAX_STRING_LEN]; |