Fix build break in MSVC
fatal error C1189: #error: "This header can't be used in operating systems without XSI (System V) shared memory support"
This commit is contained in:
parent
c87ae5612a
commit
2c8cf26e74
@ -7,7 +7,7 @@
|
||||
#include <boost/filesystem.hpp>
|
||||
#include <boost/filesystem/fstream.hpp>
|
||||
#include <boost/interprocess/mapped_region.hpp>
|
||||
#ifndef WIN32
|
||||
#ifndef _WIN32
|
||||
#include <boost/interprocess/xsi_shared_memory.hpp>
|
||||
#else
|
||||
#include <boost/interprocess/shared_memory_object.hpp>
|
||||
@ -39,7 +39,7 @@ struct OSRMLockFile
|
||||
}
|
||||
};
|
||||
|
||||
#ifndef WIN32
|
||||
#ifndef _WIN32
|
||||
class SharedMemory
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user