Skip to content

Commit

Permalink
MSVC: include float header for _isnan and _finite
Browse files Browse the repository at this point in the history
  • Loading branch information
cremno committed Dec 19, 2012
1 parent 2a49cd1 commit 988bc22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/sprintf.c
Expand Up @@ -17,6 +17,10 @@
#include <math.h> #include <math.h>
#include <ctype.h> #include <ctype.h>


#ifdef _MSC_VER
#include <float.h>
#endif

#ifdef HAVE_IEEEFP_H #ifdef HAVE_IEEEFP_H
#include <ieeefp.h> #include <ieeefp.h>
#endif #endif
Expand Down

0 comments on commit 988bc22

Please sign in to comment.