summarylogtreecommitdiffstats
path: root/ext2_types-stub.h
diff options
context:
space:
mode:
authorFantix King2012-11-02 07:22:13 +0000
committerFantix King2015-12-30 07:37:26 +0800
commitb56bdd1004366efd6885e0b014165ad6e70d326c (patch)
treea412d07ea8bcae332021a1397b2e002a508c2ace /ext2_types-stub.h
parentdd65c6033cff200546edc912e1b32189d6a31098 (diff)
downloadaur-b56bdd1004366efd6885e0b014165ad6e70d326c.tar.gz
1.42.6-1.1
Diffstat (limited to 'ext2_types-stub.h')
-rw-r--r--ext2_types-stub.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/ext2_types-stub.h b/ext2_types-stub.h
new file mode 100644
index 000000000000..053b967ab42c
--- /dev/null
+++ b/ext2_types-stub.h
@@ -0,0 +1,13 @@
+// This is replaced by libx32-e2fsprogs.
+// Old file is renamed to ext2_types-64.h.
+
+#if !defined __x86_64__
+# include "ext2_types-64.h" // lib32-e2fsprogs did not deliver ext2_types-32.h yet
+#endif
+#if defined __x86_64__ && defined __LP64__
+# include "ext2_types-64.h"
+#endif
+#if defined __x86_64__ && defined __ILP32__
+# include "ext2_types-x32.h"
+#endif
+