summaryrefslogtreecommitdiff
path: root/boost/compute/algorithm/detail/find_extrema.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/compute/algorithm/detail/find_extrema.hpp')
-rw-r--r--boost/compute/algorithm/detail/find_extrema.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/compute/algorithm/detail/find_extrema.hpp b/boost/compute/algorithm/detail/find_extrema.hpp
index eef2e36c3c..734b75aa90 100644
--- a/boost/compute/algorithm/detail/find_extrema.hpp
+++ b/boost/compute/algorithm/detail/find_extrema.hpp
@@ -56,7 +56,7 @@ inline InputIterator find_extrema(InputIterator first,
// use serial method for OpenCL version 1.0 due to
// problems with atomic_cmpxchg()
- #ifndef CL_VERSION_1_1
+ #ifndef BOOST_COMPUTE_CL_VERSION_1_1
return serial_find_extrema(first, last, compare, find_minimum, queue);
#endif