mozilla-ppc64le-skia.patch
branchesr24
changeset 713 3c7719dfcafa
equal deleted inserted replaced
706:4639b5ad4fce 713:3c7719dfcafa
       
     1 diff -ur mozilla/gfx.orig/skia/include/core/SkPreConfig.h mozilla/gfx/skia/include/core/SkPreConfig.h
       
     2 --- mozilla/gfx.orig/skia/include/core/SkPreConfig.h	2014-02-01 03:35:27.426017176 -0600
       
     3 +++ mozilla/gfx/skia/include/core/SkPreConfig.h	2014-02-27 10:33:20.869986226 -0600
       
     4 @@ -95,7 +95,11 @@
       
     5  
       
     6  #if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN)
       
     7  #if defined (__ppc__) || defined(__PPC__) || defined(__ppc64__) || defined(__PPC64__)
       
     8 -        #define SK_CPU_BENDIAN
       
     9 +        #if defined (__BIG_ENDIAN__)
       
    10 +            #define SK_CPU_BENDIAN
       
    11 +        #else
       
    12 +            #define SK_CPU_LENDIAN
       
    13 +        #endif
       
    14      #else
       
    15          #define SK_CPU_LENDIAN
       
    16      #endif