#if defined __APPLE__ #include #else #include #endif int main(int argc, char** argv) { #ifdef CL_VERSION_1_1 #else #error OpenCL 1.1 not found #endif return 0; }