mirror of
https://github.com/boostorg/thread.git
synced 2026-01-22 05:42:37 +00:00
Merge pull request #55 from jessicah/tests-fix-error-message
Tests: correct #error message in recursive_mutex/native_handle_pass
This commit is contained in:
@@ -29,7 +29,7 @@ int main()
|
||||
boost::recursive_mutex::native_handle_type h = m.native_handle();
|
||||
BOOST_TEST(h);
|
||||
#else
|
||||
#error "Test not applicable: BOOST_THREAD_DEFINES_CONDITION_VARIABLE_NATIVE_HANDLE not defined for this platform as not supported"
|
||||
#error "Test not applicable: BOOST_THREAD_DEFINES_RECURSIVE_MUTEX_NATIVE_HANDLE not defined for this platform as not supported"
|
||||
#endif
|
||||
|
||||
return boost::report_errors();
|
||||
|
||||
Reference in New Issue
Block a user