diff --git a/src/c_wrapper/wrap_cl.h b/src/c_wrapper/wrap_cl.h
index e235f5bbafcd958de1c3fa17b3d068e1e38bb732..7ca450f84fe8e546add45a84de1bfe2a1531751c 100644
--- a/src/c_wrapper/wrap_cl.h
+++ b/src/c_wrapper/wrap_cl.h
@@ -63,7 +63,7 @@
 
 #endif
 
-#ifndef(CL_VERSION_2_0)
+#ifndef CL_VERSION_2_0
 typedef void* CLeglImageKHR;
 typedef void* CLeglDisplayKHR;
 typedef void* CLeglSyncKHR;
@@ -76,7 +76,7 @@ typedef cl_bitfield         cl_sampler_properties;
 typedef cl_uint             cl_kernel_exec_info;
 #endif
 
-#ifndef(CL_VERSION_1_2)
+#ifndef CL_VERSION_1_2
 typedef intptr_t cl_device_partition_property;
 typedef cl_uint cl_kernel_arg_info;
 typedef struct _cl_image_desc cl_image_desc;