summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/math/_tgmath.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/math/_tgmath.h b/src/math/_tgmath.h
index 950fbdee..a84614a9 100644
--- a/src/math/_tgmath.h
+++ b/src/math/_tgmath.h
@@ -33,4 +33,35 @@
#define TYPE double
#define TGHUGE HUGE_VAL
+#ifndef FP_ZERO
+#include "FP_ZERO.c"
+#endif
+
+#ifndef FP_INFINITE
+#include "FP_INFINITE.c"
+#endif
+
+#ifndef FP_NAN
+#include "FP_NAN.c"
+#endif
+
+#ifndef NAN
+#include "NAN.c"
+#endif
+
+#ifndef INFINITY
+#include "INFINITY.c"
+#endif
+
+#undef feraiseexcept
+#define feraiseexcept(_)
+
+#ifndef fpclassify
+#include "fpclassify.c"
+#endif
+
+#ifndef signbit
+#include "signbit.c"
+#endif
+
#endif