diff options
Diffstat (limited to 'CL/cl_platform.h')
-rw-r--r-- | CL/cl_platform.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CL/cl_platform.h b/CL/cl_platform.h index 4f6444e..e7a0d6f 100644 --- a/CL/cl_platform.h +++ b/CL/cl_platform.h @@ -516,6 +516,9 @@ typedef unsigned int cl_GLenum; #elif defined(__GNUC__) && ! defined(__STRICT_ANSI__) #define __CL_HAS_ANON_STRUCT__ 1 #define __CL_ANON_STRUCT__ __extension__ +#elif defined(__clang__) +#define __CL_HAS_ANON_STRUCT__ 1 +#define __CL_ANON_STRUCT__ __extension__ #else #define __CL_HAS_ANON_STRUCT__ 0 #define __CL_ANON_STRUCT__ |