remove the junk for compatibility with strange Visual C environments. Bump revision for the latter.
20 lines
452 B
Text
20 lines
452 B
Text
$NetBSD: patch-ab,v 1.1 2006/02/26 20:36:58 joerg Exp $
|
|
|
|
--- fdlibm/k_standard.c.orig 2006-02-26 20:29:51.000000000 +0000
|
|
+++ fdlibm/k_standard.c
|
|
@@ -52,14 +52,7 @@
|
|
|
|
#include "fdlibm.h"
|
|
|
|
-/* XXX ugly hack to get msvc to link without error. */
|
|
-#if _LIB_VERSION == _IEEE_ && !(defined(DARWIN) || defined(XP_MACOSX))
|
|
- int errno;
|
|
-# define EDOM 0
|
|
-# define ERANGE 0
|
|
-#else
|
|
-# include <errno.h>
|
|
-#endif
|
|
+#include <errno.h>
|
|
|
|
|
|
#ifndef _USE_WRITE
|