summaryrefslogtreecommitdiff
path: root/libdecnumber/dpd/decimal32Symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdecnumber/dpd/decimal32Symbols.h')
-rw-r--r--libdecnumber/dpd/decimal32Symbols.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/libdecnumber/dpd/decimal32Symbols.h b/libdecnumber/dpd/decimal32Symbols.h
new file mode 100644
index 000000000..c4aa74fdf
--- /dev/null
+++ b/libdecnumber/dpd/decimal32Symbols.h
@@ -0,0 +1,26 @@
+#if !defined(DECIMAL32SYMBOLS)
+#define DECIMAL32SYMBOLS
+
+#ifdef IN_LIBGCC2
+#define decDigitsFromDPD __decDigitsFromDPD
+#define decDigitsToDPD __decDigitsToDPD
+#define decimal32Canonical __decimal32Canonical
+#define decimal32FromNumber __decimal32FromNumber
+#define decimal32FromString __decimal32FromString
+#define decimal32IsCanonical __decimal32IsCanonical
+#define decimal32ToEngString __decimal32ToEngString
+#define decimal32ToNumber __decimal32ToNumber
+#define decimal32ToString __decimal32ToString
+#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