From fbc91c5ee93198c3cbc3174a4ddc75960bcd2b2f Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Thu, 21 Nov 2013 12:35:37 +0400 Subject: [PATCH] ocl: fix cl_platform.h:95: #elif _WIN32 -> #elif defined(_WIN32) --- 3rdparty/include/opencl/1.2/CL/cl_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/include/opencl/1.2/CL/cl_platform.h b/3rdparty/include/opencl/1.2/CL/cl_platform.h index cf2b721..46b3d9d 100644 --- a/3rdparty/include/opencl/1.2/CL/cl_platform.h +++ b/3rdparty/include/opencl/1.2/CL/cl_platform.h @@ -92,7 +92,7 @@ extern "C" { #define CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED __attribute__((deprecated)) #define CL_EXT_PREFIX__VERSION_1_1_DEPRECATED #endif - #elif _WIN32 + #elif defined(_WIN32) #ifdef CL_USE_DEPRECATED_OPENCL_1_0_APIS #define CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED #define CL_EXT_PREFIX__VERSION_1_0_DEPRECATED -- 2.7.4