summaryrefslogtreecommitdiff
path: root/www/firefox/patches/patch-js_src_jsmath.cpp
blob: 86961e3b6b64549ddbf5b983bca245e0a64f66b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-js_src_jsmath.cpp,v 1.1 2013/07/17 11:00:13 jperkin Exp $

--- js/src/jsmath.cpp.orig	2013-05-11 19:19:34.000000000 +0000
+++ js/src/jsmath.cpp
@@ -195,7 +195,7 @@ math_atan2_kernel(double x, double y)
     }
 #endif
 
-#if defined(SOLARIS) && defined(__GNUC__)
+#if defined(notSOLARIS) && defined(__GNUC__)
     if (x == 0) {
         if (MOZ_DOUBLE_IS_NEGZERO(y))
             return js_copysign(M_PI, x);