summaryrefslogtreecommitdiffstats
path: root/gfx/skia/patches/archive/0018-Bug-817356-PPC-defines.patch
blob: d16ec4b3b4bd7d5d051b90e7883edb3359fba495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Index: gfx/skia/include/core/SkPreConfig.h
===================================================================
--- gfx/skia/include/core/SkPreConfig.h	(revision 6724)
+++ gfx/skia/include/core/SkPreConfig.h	(working copy)
@@ -94,7 +94,8 @@
 //////////////////////////////////////////////////////////////////////
 
 #if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN)
-    #if defined (__ppc__) || defined(__ppc64__)
+    #if defined (__ppc__) || defined(__PPC__) || defined(__ppc64__) \
+        || defined(__PPC64__)
         #define SK_CPU_BENDIAN
     #else
         #define SK_CPU_LENDIAN