summaryrefslogtreecommitdiffhomepage
path: root/src/fmt_fp.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-03-15 13:17:40 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2019-03-15 15:25:43 +0900
commit63b8f5cf5762dba08812210809fbf8e82c0aa7ab (patch)
tree331cfcee5eb899f27023013e0caf944d5e8805d5 /src/fmt_fp.c
parent63124bf63350529f5c601d12a7c0bf16d763af78 (diff)
downloadmruby-63b8f5cf5762dba08812210809fbf8e82c0aa7ab.tar.gz
mruby-63b8f5cf5762dba08812210809fbf8e82c0aa7ab.zip
Use `fmt_fp()` for portable float representation.
Diffstat (limited to 'src/fmt_fp.c')
-rw-r--r--src/fmt_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fmt_fp.c b/src/fmt_fp.c
index 7028d3aac..14c74ef9e 100644
--- a/src/fmt_fp.c
+++ b/src/fmt_fp.c
@@ -1,5 +1,5 @@
#ifndef MRB_WITHOUT_FLOAT
-#ifdef MRB_DISABLE_STDIO
+#if defined(MRB_DISABLE_STDIO) || defined(_WIN32) || defined(_WIN64)
/*
Most code in this file originates from musl (src/stdio/vfprintf.c)