pkgsrc/lang/ossp-js/patches/patch-aa
2008-02-06 10:08:01 +00:00

17 lines
386 B
Text

$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