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