diff options
Diffstat (limited to 'boost/compute/platform.hpp')
-rw-r--r-- | boost/compute/platform.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/compute/platform.hpp b/boost/compute/platform.hpp index 65fda84e11..fddfec8c11 100644 --- a/boost/compute/platform.hpp +++ b/boost/compute/platform.hpp @@ -181,7 +181,7 @@ public: /// function. Returns \c 0 if \p function_name is invalid. void* get_extension_function_address(const char *function_name) const { - #ifdef CL_VERSION_1_2 + #ifdef BOOST_COMPUTE_CL_VERSION_1_2 return clGetExtensionFunctionAddressForPlatform(m_platform, function_name); #else @@ -192,7 +192,7 @@ public: /// Requests that the platform unload any compiler resources. void unload_compiler() { - #ifdef CL_VERSION_1_2 + #ifdef BOOST_COMPUTE_CL_VERSION_1_2 clUnloadPlatformCompiler(m_platform); #else clUnloadCompiler(); |