Skip to content

Commit

Permalink
Fix macro definition for clangcl
Browse files Browse the repository at this point in the history
  • Loading branch information
Beanavil committed Aug 14, 2023
1 parent aa0a18c commit 736cb47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CL/cl_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ extern "C" {
#ifdef __GNUC__
#define CL_API_SUFFIX_DEPRECATED __attribute__((deprecated))
#define CL_API_PREFIX_DEPRECATED
#elif defined(_WIN32)
#elif defined(_MSC_VER) && !defined(__clang__)
#define CL_API_SUFFIX_DEPRECATED
#define CL_API_PREFIX_DEPRECATED __declspec(deprecated)
#else
Expand Down

0 comments on commit 736cb47

Please sign in to comment.