# HG changeset patch
# User t_mrc-ct@users.sourceforge.jp
# Date 1409479851 -32400
#      Sun Aug 31 19:10:51 2014 +0900
# Branch GECKO3810_2015070713_RELBRANCH
# Node ID 52f2da6d9db7b1f2316bdeed15a6361da0da6f27
# Parent  72e6da9054f515b581304f2483e45689f889cbd5
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
@@ -1488,17 +1488,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);
   }
 };
