Kaynağa Gözat

Merge pull request #46 from dariomanesku/master

Fixed gcc warning on linux.
Branimir Karadžić 10 yıl önce
ebeveyn
işleme
6019050438
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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_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