summaryrefslogtreecommitdiff
path: root/lang/ossp-js/patches/patch-aa
blob: 5f4135d3c94e0b8370597e8a3a2f0b6b6f0dd64c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$NetBSD: patch-aa,v 1.2 2008/02/06 10:08:02 bjs Exp $

--- src/jslibmath.h.orig	2006-07-23 08:22:18.000000000 -0400
+++ src/jslibmath.h
@@ -85,11 +85,7 @@
 
 #ifdef OSSP
 #undef JS_USE_FDLIBM_MATH
-#if defined(__FreeBSD__)
-#define JS_USE_FDLIBM_MATH 0
-#else
-#define JS_USE_FDLIBM_MATH 1
-#endif
+#define JS_USE_FDLIBM_MATH JS_FDLIBM_MATH_REQUESTED
 #endif
 
 #if !JS_USE_FDLIBM_MATH