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:
Michael Krasnyk 2016-05-05 13:24:27 +02:00
parent c87ae5612a
commit 2c8cf26e74

View File

@ -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
{