Ticket #3138: mapped_region.hpp.patch

File mapped_region.hpp.patch, 509 bytes (added by Niklas Angare <li51ckf02@…>, 13 years ago)

Ugly patch to ifdef out the include

  • boost/interprocess/mapped_region.hpp

     
    3131#    include <unistd.h>
    3232#    include <sys/stat.h>
    3333#    include <sys/types.h>
    34 #    include <sys/shm.h>
     34#    ifdef BOOST_INTERPROCESS_XSI_SHARED_MEMORY_OBJECTS
     35#      include <sys/shm.h>
     36#    endif
    3537#    include <cassert>
    3638#  else
    3739#    error Unknown platform