diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-11 19:56:06 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-11 19:56:06 -0400 |
| commit | b0bbffc318a316d814754917ee67147ff8c2282e (patch) | |
| tree | 42926b7f7ab40d5a769dc32af06b64fb17e7a1e6 /src/stdlib | |
| parent | 829e76551bc1d5489df5fe9192daa0d63c917f07 (diff) | |
pull in future definitions if building C89/C95
Diffstat (limited to 'src/stdlib')
| -rw-r--r-- | src/stdlib/strtod.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/stdlib/strtod.c b/src/stdlib/strtod.c index ba6c9636..b866f47c 100644 --- a/src/stdlib/strtod.c +++ b/src/stdlib/strtod.c @@ -4,6 +4,14 @@ #include "float.h" #include "math.h" +#ifndef INFINITY +#include "../math/INFINITY.c" +#endif + +#ifndef NAN +#include "../math/NAN.c" +#endif + /** convert string to floating-point **/ double strtod(const char * restrict nptr, char ** restrict endptr) |
