pioneer: fix build on ppc
[ci skip]
This commit is contained in:
parent
a88ceb7993
commit
f803421f2b
11
srcpkgs/pioneer/patches/ppc.patch
Normal file
11
srcpkgs/pioneer/patches/ppc.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- contrib/profiler/Profiler.h
|
||||
+++ contrib/profiler/Profiler.h
|
||||
@@ -11,7 +11,7 @@
|
||||
#undef fastcall
|
||||
|
||||
//#define USE_CHRONO
|
||||
-#if !defined(USE_CHRONO) && (defined(__arm__) || defined(__aarch64__) || defined(_M_AMD64) || defined(_WIN64) || defined(_M_X64))
|
||||
+#if !defined(USE_CHRONO) && (defined(__arm__) || defined(__aarch64__) || defined(__powerpc__) || defined(_M_AMD64) || defined(_WIN64) || defined(_M_X64))
|
||||
// this isn't optional for __arm__ or x64 builds
|
||||
#define USE_CHRONO
|
||||
#endif
|
Loading…
x
Reference in New Issue
Block a user