From b2969acfe21ac8616f3c09e325a5d461cbbbe226 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 5 Aug 2024 01:36:13 +0000 Subject: automatic import of apr --- 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 v1.2.3