From 1ce8e157cfc22987da40c89f82f82ed1daf0efa0 Mon Sep 17 00:00:00 2001 From: pkubaj Date: Thu, 2 Jan 2020 13:55:28 +0100 Subject: [PATCH] Fix build on ppc64 with clang clang doesn't have ppu_intrinsics.h. --- src/include/clRNG/private/Random123/features/gccfeatures.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/clRNG/private/Random123/features/gccfeatures.h b/src/include/clRNG/private/Random123/features/gccfeatures.h index d6bb060..0440d39 100644 --- a/src/include/clRNG/private/Random123/features/gccfeatures.h +++ b/src/include/clRNG/private/Random123/features/gccfeatures.h @@ -44,7 +44,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Please let the authors know of any successes (or failures). */ #endif -#ifdef __powerpc__ +#if defined(__powerpc__) && !defined(__clang__) #include #endif