summarylogtreecommitdiffstats
path: root/mpdecimal-stub.h
diff options
context:
space:
mode:
authorFantix King2015-11-19 16:28:53 +0800
committerFantix King2015-11-19 16:31:01 +0800
commit01ff1f4a8b1fee687aee066868eb4fd4ef04c935 (patch)
treea6f44e55c369dcb4bf91975cef4fb0ac4bebb190 /mpdecimal-stub.h
parentf567893243ba107c217aa2b3292c837d1e84639a (diff)
downloadaur-01ff1f4a8b1fee687aee066868eb4fd4ef04c935.tar.gz
2.4.1-1.2 fix header
Diffstat (limited to 'mpdecimal-stub.h')
-rw-r--r--mpdecimal-stub.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/mpdecimal-stub.h b/mpdecimal-stub.h
new file mode 100644
index 000000000000..96ef43b94941
--- /dev/null
+++ b/mpdecimal-stub.h
@@ -0,0 +1,13 @@
+// This is replaced by libx32-mpdecimal.
+// Old file is renamed to mpdecimal-64.h.
+
+#if !defined __x86_64__
+# include "mpdecimal-x32.h" // no lib32-mpdecimal yet
+#endif
+#if defined __x86_64__ && defined __LP64__
+# include "mpdecimal-64.h"
+#endif
+#if defined __x86_64__ && defined __ILP32__
+# include "mpdecimal-x32.h"
+#endif
+