From ba0620fb6d74e94525a3256b4c5204fb3f5a247f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 2 Oct 2010 10:01:36 +0200 Subject: work on httpd 2.3.8 --- apr-wrapper.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 apr-wrapper.h (limited to 'apr-wrapper.h') diff --git a/apr-wrapper.h b/apr-wrapper.h new file mode 100644 index 0000000..2641f76 --- /dev/null +++ b/apr-wrapper.h @@ -0,0 +1,22 @@ +/* This file is here to prevent a file conflict on multiarch systems. A + * conflict will occur because apr.h has arch-specific definitions. + * + * DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */ + +#if defined(__i386__) +#include "apr-i386.h" +#elif defined(__ia64__) +#include "apr-ia64.h" +#elif defined(__powerpc64__) +#include "apr-ppc64.h" +#elif defined(__powerpc__) +#include "apr-ppc.h" +#elif defined(__s390x__) +#include "apr-s390x.h" +#elif defined(__s390__) +#include "apr-s390.h" +#elif defined(__x86_64__) +#include "apr-x86_64.h" +#else +#error "This apr-devel package does not work your architecture?" +#endif -- cgit