ocl: fix cl_platform.h:95: #elif _WIN32 -> #elif defined(_WIN32)
authorAlexander Alekhin <alexander.alekhin@itseez.com>
Thu, 21 Nov 2013 08:35:37 +0000 (12:35 +0400)
committerAlexander Alekhin <alexander.alekhin@itseez.com>
Fri, 22 Nov 2013 14:24:20 +0000 (18:24 +0400)
3rdparty/include/opencl/1.2/CL/cl_platform.h

index cf2b721..46b3d9d 100644 (file)
@@ -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