Ticket #3639: timed_mutex.patch

File timed_mutex.patch, 369 bytes (added by anonymous, 12 years ago)

_POSIX_C_SOURCE>=200112

  • mutex.hpp

     
    1818#include "pthread_mutex_scoped_lock.hpp"
    1919
    2020#ifdef _POSIX_TIMEOUTS
    21 #if _POSIX_TIMEOUTS >= 0
     21#if _POSIX_TIMEOUTS >= 0 && _POSIX_C_SOURCE>=200112L
    2222#define BOOST_PTHREAD_HAS_TIMEDLOCK
    2323#endif
    2424#endif