fix the warning on Linux when OpenCL 1.2 not supported

pull/528/head
yao 12 years ago
parent 2e3f4fdada
commit 1a488c0542
  1. 3
      modules/ocl/src/mcwutil.cpp

@ -46,6 +46,9 @@
#include "mcwutil.hpp"
#if defined (HAVE_OPENCL)
#ifndef CL_VERSION_1_2
#define CL_VERSION_1_2 0
#endif
using namespace std;

Loading…
Cancel
Save