Ticket #4524: ipc_sem.patch

File ipc_sem.patch, 624 bytes (added by Gennady Proskurin <gpr@…>, 11 years ago)

Patch for fixing bug

  • boost/interprocess/sync/interprocess_semaphore.hpp

    old new  
    2424#include <boost/interprocess/detail/posix_time_types_wrk.hpp>
    2525
    2626#if !defined(BOOST_INTERPROCESS_FORCE_GENERIC_EMULATION) && \
    27    (defined(BOOST_INTERPROCESS_POSIX_PROCESS_SHARED) && defined(BOOST_INTERPROCESS_POSIX_NAMED_SEMAPHORES))
     27     defined(BOOST_INTERPROCESS_POSIX_NAMED_SEMAPHORES)
    2828   #include <fcntl.h>      //O_CREAT, O_*...
    2929   #include <unistd.h>     //close
    3030   #include <string>       //std::string