diff --git a/src/wrapper/wrap_constants.cpp b/src/wrapper/wrap_constants.cpp index 94df0cf4d38a9581cf9f5a2dcfdd68eed9efd241..ab2468f7eb7e38c3150c236ca89c01582c95b403 100644 --- a/src/wrapper/wrap_constants.cpp +++ b/src/wrapper/wrap_constants.cpp @@ -263,7 +263,7 @@ void pyopencl_expose_constants() ADD_ATTR( ,WGL_HDC_KHR); ADD_ATTR( ,CGL_SHAREGROUP_KHR); #endif -#ifdef __APPLE__ && defined(HAVE_GL) +#if defined(__APPLE__) && defined(HAVE_GL) ADD_ATTR( ,CONTEXT_PROPERTY_USE_CGL_SHAREGROUP_APPLE); #endif /* __APPLE__ */ }