summaryrefslogtreecommitdiff
path: root/boost/compute/context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/context.hpp')
-rw-r--r--boost/compute/context.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/compute/context.hpp b/boost/compute/context.hpp
index 61e84e9767..13154a968a 100644
--- a/boost/compute/context.hpp
+++ b/boost/compute/context.hpp
@@ -233,11 +233,11 @@ BOOST_COMPUTE_DETAIL_DEFINE_GET_INFO_SPECIALIZATIONS(context,
((std::vector<cl_context_properties>, CL_CONTEXT_PROPERTIES))
)
-#ifdef CL_VERSION_1_1
+#ifdef BOOST_COMPUTE_CL_VERSION_1_1
BOOST_COMPUTE_DETAIL_DEFINE_GET_INFO_SPECIALIZATIONS(context,
((cl_uint, CL_CONTEXT_NUM_DEVICES))
)
-#endif // CL_VERSION_1_1
+#endif // BOOST_COMPUTE_CL_VERSION_1_1
} // end compute namespace
} // end boost namespace