Skip to content
Browse files

MSVC: include float header for _isnan and _finite

  • Loading branch information...
1 parent 2a49cd1 commit 988bc2273099c6e3da4f88fc5097e88664653960 @cremno cremno committed
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/sprintf.c
View
4 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

0 comments on commit 988bc22

Please sign in to comment.
Something went wrong with that request. Please try again.