X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Fboost%2Flibs%2Fcompute%2Ftest%2Ftest_event.cpp;h=dc4d15c0ebe8f88663baf865334785bd40a018fd;hb=b32b81446b3b05102be0267e79203f59329c1d97;hp=ced0d3c930f06462870cc883e03ca73a57224cfc;hpb=215dd7151453fae88e6f968c975b6ce309d42dcf;p=ceph.git diff --git a/ceph/src/boost/libs/compute/test/test_event.cpp b/ceph/src/boost/libs/compute/test/test_event.cpp index ced0d3c93..dc4d15c0e 100644 --- a/ceph/src/boost/libs/compute/test/test_event.cpp +++ b/ceph/src/boost/libs/compute/test/test_event.cpp @@ -28,7 +28,7 @@ BOOST_AUTO_TEST_CASE(null_event) BOOST_CHECK(null.get() == cl_event()); } -#if defined(CL_VERSION_1_1) && defined(BOOST_COMPUTE_USE_CPP11) +#if defined(BOOST_COMPUTE_CL_VERSION_1_1) && defined(BOOST_COMPUTE_USE_CPP11) std::mutex callback_mutex; std::condition_variable callback_condition_variable; static bool callback_invoked = false; @@ -115,6 +115,6 @@ BOOST_AUTO_TEST_CASE(event_to_std_future) // wait for future to become ready future.wait(); } -#endif // CL_VERSION_1_1 +#endif // BOOST_COMPUTE_CL_VERSION_1_1 BOOST_AUTO_TEST_SUITE_END()