Rudiments
apacheincludes.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information
3
4#ifndef RUDIMENTS_APACHEINCLUDES_H
5#define RUDIMENTS_APACHEINCLUDES_H
6
7extern "C" {
8 #ifndef APACHE_2
9 // apache 1.x uses table instead of apr_table_t, which
10 // collides with our table class, so use some trickery
11 // to work around that
12 #define table apr_table_t
13 #endif
14 #ifdef _DARWIN
15 #define MAC_OS 1
16 #endif
17 #include "httpd.h"
18 #include "http_config.h"
19 #include "http_protocol.h"
20 #include "ap_config.h"
21 #ifndef APACHE_2
22 #undef table
23 #endif
24}
25
26#endif