From ee288a80c816cc0727cd006713ccd7be4e5ffe24 Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 1 Jul 2005 06:52:37 +0000 Subject: * 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 --- win32/win32.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'win32') 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__ -- cgit