# HG changeset patch
# User t_mrc-ct@users.sourceforge.jp
# Date 1409479851 -32400
#      Sun Aug 31 19:10:51 2014 +0900
# Branch THUNDERBIRD3870_2016031017_RELBRANCH
# Node ID 622b3d74badb3ad983e267264bf7b87ab116d46e
# Parent  747d9ac09caf5e6f8b9738e67e2c90bfc9ca2dca
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);
   }
 };
