mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-04 10:18:09 -04:00
14 lines
410 B
C++
14 lines
410 B
C++
$NetBSD: patch-js_src_jsmath.cpp,v 1.1 2014/11/03 12:18:32 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);
|