fix the warning on Linux when OpenCL 1.2 not supported

This commit is contained in:
yao 2013-02-22 18:33:16 +08:00
parent 2e3f4fdada
commit 1a488c0542

View File

@ -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;