summaryrefslogtreecommitdiff
path: root/libguile/numbers.h
diff options
context:
space:
mode:
authorStefan Jahn <stefan@lkcc.org>2003-05-30 09:39:34 +0000
committerStefan Jahn <stefan@lkcc.org>2003-05-30 09:39:34 +0000
commit1e498fbd0fffc1b9434ef0f5b1de75491a91883e (patch)
tree686dc9eb3df792133b112ff00ce61aa7f0792fc7 /libguile/numbers.h
parentc47e2599cb0be58a4d4da737000ae05500e72aeb (diff)
downloadguile-1e498fbd0fffc1b9434ef0f5b1de75491a91883e.tar.gz
2003-05-30 Stefan Jahn <stefan@lkcc.org>
* configure.in: Checking for unsetenv(). 2003-05-30 Stefan Jahn <stefan@lkcc.org> * posix.c (s_scm_putenv): Use the new HAVE_UNSETENV appropriately for mingw32 hosts. * numbers.h: Defining copysign(), isnan() and finite() to be prefixed by a single '_' for mingw32 hosts.
Diffstat (limited to 'libguile/numbers.h')
-rw-r--r--libguile/numbers.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/libguile/numbers.h b/libguile/numbers.h
index c896d3e7a..8540d3585 100644
--- a/libguile/numbers.h
+++ b/libguile/numbers.h
@@ -88,7 +88,12 @@
#if SCM_HAVE_STDC_HEADERS
# ifndef GO32
-# include <float.h>
+# include <float.h>
+# ifdef __MINGW32__
+# define copysign _copysign
+# define isnan _isnan
+# define finite _finite
+# endif /* __MINGW32__ */
# endif /* ndef GO32 */
#endif /* def STDC_HEADERS */