diff options
author | Edward Rudd | 2004-04-17 15:14:12 +0000 |
---|---|---|
committer | Edward Rudd | 2004-04-17 15:14:12 +0000 |
commit | 0eb391e9f9e44f15c03f1d8d5414c806413f50fb (patch) | |
tree | 256ecb77d74fa09b716f4497b6893a3f6f851284 /mod_log_sql.c | |
parent | 8ee3532f8b6c454f2600e6c3b47362d22b7cf536 (diff) |
beginnings of postgresql driver integrated into autoconf
removed log_error from apache20.h (aliased to ap_log_rerror)
Diffstat (limited to 'mod_log_sql.c')
-rw-r--r-- | mod_log_sql.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mod_log_sql.c b/mod_log_sql.c index 7c16ab9..83a303a 100644 --- a/mod_log_sql.c +++ b/mod_log_sql.c | |||
@@ -1,4 +1,12 @@ | |||
1 | /* $Id: mod_log_sql.c,v 1.20 2004/03/05 00:30:58 urkle Exp $ */ | 1 | /* $Id$ */ |
2 | |||
3 | #if defined(WITH_APACHE20) | ||
4 | # include "apache20.h" | ||
5 | #elif defined(WITH_APACHE13) | ||
6 | # include "apache13.h" | ||
7 | #else | ||
8 | # error Unsupported Apache version | ||
9 | #endif | ||
2 | 10 | ||
3 | #ifdef HAVE_CONFIG_H | 11 | #ifdef HAVE_CONFIG_H |
4 | /* Undefine these to prevent conflicts between Apache ap_config_auto.h and | 12 | /* Undefine these to prevent conflicts between Apache ap_config_auto.h and |
@@ -13,14 +21,6 @@ | |||
13 | #include "config.h" | 21 | #include "config.h" |
14 | #endif | 22 | #endif |
15 | 23 | ||
16 | #if defined(WITH_APACHE20) | ||
17 | # include "apache20.h" | ||
18 | #elif defined(WITH_APACHE13) | ||
19 | # include "apache13.h" | ||
20 | #else | ||
21 | # error Unsupported Apache version | ||
22 | #endif | ||
23 | |||
24 | #if APR_HAVE_UNISTD_H | 24 | #if APR_HAVE_UNISTD_H |
25 | #include <unistd.h> | 25 | #include <unistd.h> |
26 | #endif | 26 | #endif |