Skip to content

Commit fc81a4f

Browse files
committed
Use CL_NO_PROTOTYPES to avoid declaring clGetICDLoaderInfoOCLICD prototype extern.
1 parent 137f0a5 commit fc81a4f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

loader/icd_dispatch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
* OpenCL is a trademark of Apple Inc. used under license by Khronos.
1717
*/
1818

19+
#define CL_NO_PROTOTYPES
1920
#include "icd.h"
2021
#include "icd_dispatch.h"
2122
#include "icd_version.h"

0 commit comments

Comments
 (0)