summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-sprintf
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-01-02 15:43:23 -0800
committerYukihiro "Matz" Matsumoto <[email protected]>2014-01-02 15:43:23 -0800
commit0d8737c1a7d8e5d4fc87b649d80b71753228c7ca (patch)
tree0c019637a8c2a48506b61c88eae5ae165b85755b /mrbgems/mruby-sprintf
parentd6a0308a711a5dbaccef5ef12c153567b099a9d5 (diff)
parent18433731edff73cc5254a76c86b7272a1430d0f7 (diff)
downloadmruby-0d8737c1a7d8e5d4fc87b649d80b71753228c7ca.tar.gz
mruby-0d8737c1a7d8e5d4fc87b649d80b71753228c7ca.zip
Merge pull request #1635 from cremno/cpp-conditionals
remove various preprocessor conditionals
Diffstat (limited to 'mrbgems/mruby-sprintf')
-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)))