From f50d06e296339502ba19f44d2566b7b4dcb301a3 Mon Sep 17 00:00:00 2001 From: Dario Manesku Date: Sun, 1 Mar 2015 22:47:49 +0100 Subject: [PATCH] Fixed gcc warning on linux. --- 3rdparty/CL/cl_platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/CL/cl_platform.h b/3rdparty/CL/cl_platform.h index cf2b721..46b3d9d 100644 --- a/3rdparty/CL/cl_platform.h +++ b/3rdparty/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