View | Details | Raw Unified | Return to bug 247396
Collapse All | Expand All

(-)files/patch-cl__platform.h (+13 lines)
Line 0 Link Here
1
--- cl_platform.h.orig	2020-06-18 22:38:47 UTC
2
+++ cl_platform.h
3
@@ -429,7 +429,9 @@ typedef unsigned int cl_GLenum;
4
 
5
 /* Define basic vector types */
6
 #if defined( __VEC__ )
7
-   #include <altivec.h>   /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */
8
+#  if !defined(__clang__)
9
+     #include <altivec.h>   /* may be omitted depending on compiler. AltiVec spec provides no way to detect whether the header is required. */
10
+#  endif
11
    typedef vector unsigned char     __cl_uchar16;
12
    typedef vector signed char       __cl_char16;
13
    typedef vector unsigned short    __cl_ushort8;

Return to bug 247396