summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sprintf/src/sprintf.c
diff options
context:
space:
mode:
authorcremno <[email protected]>2014-01-02 07:33:33 +0100
committercremno <[email protected]>2014-01-02 07:33:33 +0100
commit18433731edff73cc5254a76c86b7272a1430d0f7 (patch)
tree10b527f38066f60aef24a961de5c37ee39dc155b /mrbgems/mruby-sprintf/src/sprintf.c
parente8dd8180baae425c893e1054368a4c32c99ea805 (diff)
downloadmruby-18433731edff73cc5254a76c86b7272a1430d0f7.tar.gz
mruby-18433731edff73cc5254a76c86b7272a1430d0f7.zip
remove various preprocessor conditionals
- HAVE_IEEEFP_H is nowhere defined or needed at all - FreeBSD < 4 is unsupported since years - MSVC workaround (around what exactly?)
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 6479b19bc..5485f5098 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 HAVE_IEEEFP_H
-#include <ieeefp.h>
-#endif
-
#define BIT_DIGITS(N) (((N)*146)/485 + 1) /* log2(10) =~ 146/485 */
#define BITSPERDIG (sizeof(mrb_int)*CHAR_BIT)
#define EXTENDSIGN(n, l) (((~0 << (n)) >> (((n)*(l)) % BITSPERDIG)) & ~(~0 << (n)))