summaryrefslogtreecommitdiff
path: root/src/floatfns.c
diff options
context:
space:
mode:
authorAndrew Innes <andrewi@gnu.org>2000-08-22 22:19:26 +0000
committerAndrew Innes <andrewi@gnu.org>2000-08-22 22:19:26 +0000
commitf12ef5ebfd680c9aeeab106d0de5966ee3bf2075 (patch)
tree0d9395cf00783823e36d849d0eb510cdf3d18bf6 /src/floatfns.c
parent1f9c3929c54fbb9e1e25c6cede937b5aaa65a41f (diff)
downloademacs-f12ef5ebfd680c9aeeab106d0de5966ee3bf2075.tar.gz
[USE_CRT_DLL]: Remove unnecessary extern, which screws
up dllimport attributes.
Diffstat (limited to 'src/floatfns.c')
-rw-r--r--src/floatfns.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/floatfns.c b/src/floatfns.c
index d6cbb876e37..db1c3a7231e 100644
--- a/src/floatfns.c
+++ b/src/floatfns.c
@@ -107,8 +107,10 @@ extern double logb ();
#ifdef FLOAT_CHECK_ERRNO
# include <errno.h>
+#ifndef USE_CRT_DLL
extern int errno;
#endif
+#endif
/* Avoid traps on VMS from sinh and cosh.
All the other functions set errno instead. */