summaryrefslogtreecommitdiff
path: root/libdecnumber/decContextSymbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdecnumber/decContextSymbols.h')
-rw-r--r--libdecnumber/decContextSymbols.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/libdecnumber/decContextSymbols.h b/libdecnumber/decContextSymbols.h
new file mode 100644
index 000000000..464605365
--- /dev/null
+++ b/libdecnumber/decContextSymbols.h
@@ -0,0 +1,24 @@
+#if !defined(DECCONTEXTSYMBOLS)
+#define DECCONTEXTSYMBOLS
+
+#ifdef IN_LIBGCC2
+#define decContextClearStatus __decContextClearStatus
+#define decContextDefault __decContextDefault
+#define decContextGetRounding __decContextGetRounding
+#define decContextGetStatus __decContextGetStatus
+#define decContextRestoreStatus __decContextRestoreStatus
+#define decContextSaveStatus __decContextSaveStatus
+#define decContextSetRounding __decContextSetRounding
+#define decContextSetStatus __decContextSetStatus
+#define decContextSetStatusFromString __decContextSetStatusFromString
+#define decContextSetStatusFromStringQuiet __decContextSetStatusFromStringQuiet
+#define decContextSetStatusQuiet __decContextSetStatusQuiet
+#define decContextStatusToString __decContextStatusToString
+#define decContextTestSavedStatus __decContextTestSavedStatus
+#define decContextTestStatus __decContextTestStatus
+#define decContextZeroStatus __decContextZeroStatus
+#define DECPOWERS __decPOWERS
+#define DECSTICKYTAB __decSTICKYTAB
+#endif
+
+#endif