From 098af2ee44706eda1d49ace737e4979de35207ca Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 8 Aug 2013 11:51:27 +0200 Subject: libzip 0.11.1 WIP --- zipconf.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 zipconf.h (limited to 'zipconf.h') diff --git a/zipconf.h b/zipconf.h new file mode 100644 index 0000000..4de5c8d --- /dev/null +++ b/zipconf.h @@ -0,0 +1,23 @@ +/* + * Kluge to support multilib installation of both 32 and 64-bit RPMS: + * we need to arrange that header files that appear in both RPMs are + * identical. Hence, this file is architecture-independent and calls + * in an arch-dependent file that will appear in just one RPM. + * + * To avoid breaking arches not explicitly supported by Fedora, we + * use this indirection file *only* on known multilib arches. + * DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */ + +#ifndef ZIPCONF_MULTILIB_H +#define ZIPCONF_MULTILIB_H + +#include +#if __WORDSIZE == 32 +#include "zipconf-32.h" +#elif __WORDSIZE == 64 +#include "zipconf-64.h" +#else +#error "unexpected value for __WORDSIZE macro" +#endif + +#endif -- cgit