File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 69
69
#define SK_CPU_LOONGARCH 1
70
70
#endif
71
71
72
+ #if defined(__powerpc__ ) || defined (__powerpc64__ )
73
+ #define SK_CPU_PPC 1
74
+ #endif
75
+
72
76
/**
73
77
* SK_CPU_SSE_LEVEL
74
78
*
Original file line number Diff line number Diff line change @@ -27,7 +27,8 @@ struct SkImageInfo;
27
27
struct skcms_TransferFunction ;
28
28
29
29
#if __has_cpp_attribute(clang::musttail) && !defined(__EMSCRIPTEN__) && !defined(SK_CPU_ARM32) && \
30
- !defined(SK_CPU_LOONGARCH) && !(defined(_WIN32) && defined(SK_BUILD_FOR_ANDROID_FRAMEWORK))
30
+ !defined(SK_CPU_LOONGARCH) && !defined(SK_CPU_PPC) && \
31
+ !(defined(_WIN32) && defined(SK_BUILD_FOR_ANDROID_FRAMEWORK))
31
32
// [[clang::musttail]] is disabled for the Android version of Skia running on Windows as it
32
33
// causes crashes (This is probably related to http://crbug.com/1505442).
33
34
#define SK_HAS_MUSTTAIL 1
You can’t perform that action at this time.
0 commit comments