Skip to content

Commit ecb20fb

Browse files
authored
Switch to __CL_HAS_ANON_UNION__ macro (#264)
1 parent 02134b0 commit ecb20fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

loader/icd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ void khrIcdContextPropertiesGetPlatform(
182182
cl_platform_id *outPlatform);
183183

184184
// condition anonyous union initialization to usage
185-
#if __CL_HAS_ANON_STRUCT__
185+
#if __CL_HAS_ANON_UNION__
186186
#define ICD_ANON_UNION_INIT_MEMBER(a) {a}
187187
#else
188188
#define ICD_ANON_UNION_INIT_MEMBER(a) a

0 commit comments

Comments
 (0)