Browse Source

Merge pull request #46 from dariomanesku/master

Fixed gcc warning on linux.
Branimir Karadžić 11 years ago
parent
commit
6019050438
1 changed files with 1 additions and 1 deletions
  1. 1 1
      3rdparty/CL/cl_platform.h

+ 1 - 1
3rdparty/CL/cl_platform.h

@@ -92,7 +92,7 @@ extern "C" {
             #define CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED __attribute__((deprecated))
             #define CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED __attribute__((deprecated))
             #define CL_EXT_PREFIX__VERSION_1_1_DEPRECATED    
             #define CL_EXT_PREFIX__VERSION_1_1_DEPRECATED    
         #endif
         #endif
-    #elif _WIN32
+    #elif defined(_WIN32)
         #ifdef CL_USE_DEPRECATED_OPENCL_1_0_APIS
         #ifdef CL_USE_DEPRECATED_OPENCL_1_0_APIS
             #define CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED    
             #define CL_EXT_SUFFIX__VERSION_1_0_DEPRECATED    
             #define CL_EXT_PREFIX__VERSION_1_0_DEPRECATED    
             #define CL_EXT_PREFIX__VERSION_1_0_DEPRECATED