summaryrefslogtreecommitdiffstats
path: root/blkid_types-wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'blkid_types-wrapper.h')
-rw-r--r--blkid_types-wrapper.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/blkid_types-wrapper.h b/blkid_types-wrapper.h
new file mode 100644
index 0000000..aad0497
--- /dev/null
+++ b/blkid_types-wrapper.h
@@ -0,0 +1,23 @@
+/* This file is here to prevent a file conflict on multiarch systems. A
+ * conflict will occur because blkid_types.h has arch-specific definitions.
+ *
+ * DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */
+
+#if defined(__i386__)
+#include "blkid_types-i386.h"
+#elif defined(__ia64__)
+#include "blkid_types-ia64.h"
+#elif defined(__powerpc64__)
+#include "blkid_types-ppc64.h"
+#elif defined(__powerpc__)
+#include "blkid_types-ppc.h"
+#elif defined(__s390x__)
+#include "blkid_types-s390x.h"
+#elif defined(__s390__)
+#include "blkid_types-s390.h"
+#elif defined(__x86_64__)
+#include "blkid_types-x86_64.h"
+#else
+#error "This e2fsprogs-devel package does not work your architecture?"
+#endif
+