diff options
| author | Cremno <[email protected]> | 2012-12-19 11:32:12 +0100 |
|---|---|---|
| committer | Cremno <[email protected]> | 2012-12-19 11:32:12 +0100 |
| commit | 988bc2273099c6e3da4f88fc5097e88664653960 (patch) | |
| tree | 95b216758926f372073e5ca38affd54c8b20ebcb /src/sprintf.c | |
| parent | 2a49cd176e4046cf08cd6cc1350216031e4d847b (diff) | |
| download | mruby-988bc2273099c6e3da4f88fc5097e88664653960.tar.gz mruby-988bc2273099c6e3da4f88fc5097e88664653960.zip | |
MSVC: include float header for _isnan and _finite
Diffstat (limited to 'src/sprintf.c')
| -rw-r--r-- | src/sprintf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sprintf.c b/src/sprintf.c index 0e8ac830f..750b17d25 100644 --- a/src/sprintf.c +++ b/src/sprintf.c @@ -17,6 +17,10 @@ #include <math.h> #include <ctype.h> +#ifdef _MSC_VER +#include <float.h> +#endif + #ifdef HAVE_IEEEFP_H #include <ieeefp.h> #endif |
