# HG changeset patch
# User t_mrc-ct@users.sourceforge.jp
# Date 1409479851 -32400
# Branch GECKO3111_2014090813_RELBRANCH
# Node ID d458ea1d7b0674b123846cc049195787b4d18020
# Parent  3a68a79c13bc52e774c9a08dafaaa08f449b69a7
use __POWERPC__ instead of __powerpc__

diff --git a/js/src/ctypes/CTypes.cpp b/js/src/ctypes/CTypes.cpp
--- a/js/src/ctypes/CTypes.cpp
+++ b/js/src/ctypes/CTypes.cpp
@@ -1441,17 +1441,17 @@
   }
 };
 #endif
 
 // C++ doesn't guarantee that exact values are the only ones that will
 // round-trip. In fact, on some platforms, including SPARC, there are pairs of
 // values, a uint64_t and a double, such that neither value is exactly
 // representable in the other type, but they cast to each other.
-#if defined(SPARC) || defined(__powerpc__)
+#if defined(SPARC) || defined(__POWERPC__)
 // Simulate x86 overflow behavior
 template<>
 struct ConvertImpl<uint64_t, double> {
   static MOZ_ALWAYS_INLINE uint64_t Convert(double d) {
     return d >= 0xffffffffffffffff ?
            0x8000000000000000 : uint64_t(d);
   }
 };
