Permalink
Browse files

MSVC: include float header for _isnan and _finite

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