Ping
On Wed, Apr 11, 2018 at 6:33 PM, <[email protected]> wrote: > # HG changeset patch > # User Radhakrishnan <[email protected]> > # Date 1523448034 -19800 > # Wed Apr 11 17:30:34 2018 +0530 > # Node ID 151627fc09e0ff7905a35f8af50e5ad4371a6c02 > # Parent e1ed4d609b52a361e758a66f45e8c070dd245211 > Fix mac build error when tests cmake option is enabled > > clang version 4 or higher has its own implementation of __rtdsc > > diff -r e1ed4d609b52 -r 151627fc09e0 source/test/testharness.h > --- a/source/test/testharness.h Tue Apr 03 13:49:25 2018 +0530 > +++ b/source/test/testharness.h Wed Apr 11 17:30:34 2018 +0530 > @@ -72,7 +72,7 @@ > #include <x86intrin.h> > #elif ( !defined(__APPLE__) && defined (__GNUC__) && > defined(__ARM_NEON__)) > #include <arm_neon.h> > -#elif defined(__GNUC__) > +#elif defined(__GNUC__) && (!defined(__clang__) || __clang_major__ < 4) > /* fallback for older GCC/MinGW */ > static inline uint32_t __rdtsc(void) > { >
_______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
