summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sprintf/src/sprintf.c
diff options
context:
space:
mode:
authorCremno <[email protected]>2013-06-27 12:18:35 +0200
committerCremno <[email protected]>2013-06-27 12:18:35 +0200
commit872883747822750413e22b3bc5cdf2acef3b403e (patch)
treef88d2d862424fe51ba406ed3b87f71666a6fd039 /mrbgems/mruby-sprintf/src/sprintf.c
parentb44309b4b208a7649a4e3bfb02b2ae353a3c83fc (diff)
downloadmruby-872883747822750413e22b3bc5cdf2acef3b403e.tar.gz
mruby-872883747822750413e22b3bc5cdf2acef3b403e.zip
Visual Studio 2013 support + strtof + inline
- VC12 has better C99 library support due to C++11 - defined strtof for VC11 or older - define "inline" only if the C compiler is used
Diffstat (limited to 'mrbgems/mruby-sprintf/src/sprintf.c')
-rw-r--r--mrbgems/mruby-sprintf/src/sprintf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c
index 55698d09f..6479b19bc 100644
--- a/mrbgems/mruby-sprintf/src/sprintf.c
+++ b/mrbgems/mruby-sprintf/src/sprintf.c
@@ -15,10 +15,6 @@
#include <math.h>
#include <ctype.h>
-#ifdef _MSC_VER
-#include <float.h>
-#endif
-
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
#endif