We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa0a18c commit 736cb47Copy full SHA for 736cb47
CL/cl_platform.h
@@ -77,7 +77,7 @@ extern "C" {
77
#ifdef __GNUC__
78
#define CL_API_SUFFIX_DEPRECATED __attribute__((deprecated))
79
#define CL_API_PREFIX_DEPRECATED
80
-#elif defined(_WIN32)
+#elif defined(_MSC_VER) && !defined(__clang__)
81
#define CL_API_SUFFIX_DEPRECATED
82
#define CL_API_PREFIX_DEPRECATED __declspec(deprecated)
83
#else
0 commit comments