Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Without specifying _XOPEN_SOURCE>=600, QNX 7.1 fails with: /target/qnx7/usr/include/c++/v1/__threading_support: In function 'int std::__1::__libcpp_condvar_timedwait(std::__1::__libcpp_condvar_t*, std::__1::__libcpp_mutex_t*, timespec*)': /target/qnx7/usr/include/c++/v1/__threading_support:293:10: error: 'pthread_cond_timedwait' was not declared in this scope return pthread_cond_timedwait(__cv, __m, __ts); ^~~~~~~~~~~~~~~~~~~~~~ /target/qnx7/usr/include/c++/v1/__threading_support:293:10: note: suggested alternative: 'pthread_cond_wait' return pthread_cond_timedwait(__cv, __m, __ts); ^~~~~~~~~~~~~~~~~~~~~~ pthread_cond_wait
- Loading branch information