summarylogtreecommitdiffstats
path: root/mpdecimal-stub.h
diff options
context:
space:
mode:
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
+