summaryrefslogtreecommitdiffstats
path: root/win32
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-01 06:52:37 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-01 06:52:37 +0000
commitee288a80c816cc0727cd006713ccd7be4e5ffe24 (patch)
tree1fb66f54bb92e7747bc087c547187aeb2d81db93 /win32
parentf4d5ba122c54831d5241447aa551eafbbbc795d2 (diff)
downloadruby-ee288a80c816cc0727cd006713ccd7be4e5ffe24.tar.gz
ruby-ee288a80c816cc0727cd006713ccd7be4e5ffe24.tar.xz
ruby-ee288a80c816cc0727cd006713ccd7be4e5ffe24.zip
* missing/erf.c: need to include some headers for some platforms.
* win32/win32.c (copysign, scalb): define for compatibility with other platforms. [ruby-dev:26430] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/win32/win32.h b/win32/win32.h
index c6aabc42b..ef4120dd8 100644
--- a/win32/win32.h
+++ b/win32/win32.h
@@ -216,6 +216,12 @@ extern FILE *rb_w32_fsopen(const char *, const char *, int);
#ifndef finite
#define finite(x) _finite(x)
#endif
+#ifndef copysign
+#define copysign(a, b) _copysign(a, b)
+#endif
+#ifndef scalb
+#define scalb(a, b) _scalb(a, b)
+#endif
#endif
#if 0 && defined __BORLANDC__