summaryrefslogtreecommitdiff
path: root/lang/spidermonkey/patches/patch-ab
blob: e94581233405335eb42e35e39f5e0ae8e79526fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$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