summaryrefslogtreecommitdiff
path: root/www/firefox38/patches/patch-js_src_jsmath.cpp
blob: 039610f1fce95e653a88a71b5a98eabfe9ef549f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-js_src_jsmath.cpp,v 1.1 2015/07/09 14:13:52 ryoon Exp $

--- js/src/jsmath.cpp.orig	2013-09-10 03:43:36.000000000 +0000
+++ js/src/jsmath.cpp
@@ -244,7 +244,7 @@ js::ecmaAtan2(double y, double x)
     }
 #endif
 
-#if defined(SOLARIS) && defined(__GNUC__)
+#if defined(notSOLARIS) && defined(__GNUC__)
     if (y == 0) {
         if (IsNegativeZero(x))
             return js_copysign(M_PI, y);