diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-10-02 10:01:36 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-10-02 10:01:36 +0200 |
commit | ba0620fb6d74e94525a3256b4c5204fb3f5a247f (patch) | |
tree | a5c562c23f43beef861722c0debb3d2ee4912f5c /apr-wrapper.h |
Diffstat (limited to 'apr-wrapper.h')
-rw-r--r-- | apr-wrapper.h | 22 |
1 files changed, 22 insertions, 0 deletions
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 |