pkgsrc/editors/emacs/patches/patch-ar
joerg 45fad7e41d Create separate configuration for DragonFly. Fix errno.
Based on patch from Richard Nyberg on DragonFly's user list.
2005-12-29 13:56:51 +00:00

14 lines
329 B
Text

$NetBSD: patch-ar,v 1.3 2005/12/29 13:56:51 joerg Exp $
--- src/floatfns.c.orig 2005-12-29 13:31:17.000000000 +0000
+++ src/floatfns.c
@@ -107,9 +107,6 @@ 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.