at 18.03-beta 11 lines 522 B view raw
1--- include/CL/cl.hpp 2+++ include/CL/cl.hpp 3@@ -201,7 +201,7 @@ 4 #include <functional> 5 #define __CL_FUNCTION_TYPE typename std::function 6 #define CL_USE_CPP_FUNCTORS 7-#elif (__GNUC__ == 4 && __GNUC_MINOR__ >= 1 && !defined(STLPORT)) || defined(__APPLE__) || defined(__MACOSX) 8+#elif (((__GNUC__ == 4 && __GNUC_MINOR__ >= 1) || (__GNUC__ >= 5)) && !defined(STLPORT)) || defined(__APPLE__) || defined(__MACOSX) 9 #include <tr1/functional> 10 #define __CL_FUNCTION_TYPE typename std::tr1::function 11 #define CL_USE_CPP_FUNCTORS