From 63857e44e4f34187109ade06dcfa2bdce63a5dee Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Tue, 11 Aug 2020 19:10:30 -0400 Subject: include forward definitions when building C89/C95 --- src/math/_tgmath.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'src/math/_tgmath.h') 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 -- cgit v1.2.1