summaryrefslogtreecommitdiff
path: root/libdecnumber/dpd/decimal128Symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdecnumber/dpd/decimal128Symbols.h')
-rw-r--r--libdecnumber/dpd/decimal128Symbols.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/libdecnumber/dpd/decimal128Symbols.h b/libdecnumber/dpd/decimal128Symbols.h
new file mode 100644
index 000000000..b30687c2b
--- /dev/null
+++ b/libdecnumber/dpd/decimal128Symbols.h
@@ -0,0 +1,26 @@
+#if !defined(DECIMAL128SYMBOLS)
+#define DECIMAL128SYMBOLS
+
+#ifdef IN_LIBGCC2
+#define decDigitsFromDPD __decDigitsFromDPD
+#define decDigitsToDPD __decDigitsToDPD
+#define decimal128Canonical __decimal128Canonical
+#define decimal128FromNumber __decimal128FromNumber
+#define decimal128FromString __decimal128FromString
+#define decimal128IsCanonical __decimal128IsCanonical
+#define decimal128ToEngString __decimal128ToEngString
+#define decimal128ToNumber __decimal128ToNumber
+#define decimal128ToString __decimal128ToString
+#define COMBEXP __decnnCOMBEXP
+#define COMBMSD __decnnCOMBMSD
+
+/* DPD2BIN and BIN2DPD are used in support for decimal32/decimal64/decimal128
+ and also in support for decSingle/decDouble/decQuad. Rename them in case
+ both types of support are used in the same executable. */
+#undef DPD2BIN
+#define DPD2BIN __decnnDPD2BIN
+#undef BIN2DPD
+#define BIN2DPD __decnnBIN2DPD
+#endif
+
+#endif