diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-11 19:10:30 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-11 19:10:30 -0400 |
| commit | 63857e44e4f34187109ade06dcfa2bdce63a5dee (patch) | |
| tree | 33f8d2632c8af11097b93d76a19fd5d165f1d5f9 /src/math/_tgmath.h | |
| parent | 17ad48fef73839e9d36c89d5054a7bd2a72b14ac (diff) | |
include forward definitions when building C89/C95
Diffstat (limited to 'src/math/_tgmath.h')
| -rw-r--r-- | src/math/_tgmath.h | 31 |
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 |
