summaryrefslogtreecommitdiffstats
path: root/apache13.h
diff options
context:
space:
mode:
authorGravatar Edward Rudd 2004-04-29 23:11:12 +0000
committerGravatar Edward Rudd 2004-04-29 23:11:12 +0000
commit211c72fce4173b76712ae36bc240ca63c4fc1e31 (patch)
tree6b775e64b874627079f9b037e5236f8dcf6e25b7 /apache13.h
parent482c6dba5db896d06099737e8a75be6a3949b492 (diff)
win32 fixes for apache 1.3
added win32 build script
Diffstat (limited to 'apache13.h')
-rw-r--r--apache13.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/apache13.h b/apache13.h
index 3b013cc..bf10af2 100644
--- a/apache13.h
+++ b/apache13.h
@@ -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
75static void log_error(char *file, int line, int level, apr_status_t status, 75void 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)));
77static inline void log_error(char *file, int line, int level, 77
78#ifndef WIN32
79inline
80#endif
81void 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];