Fixes #276 ("-Wundef warning in boost/interprocess/allocators/allocator.hpp")

This commit is contained in:
Ion Gaztañaga
2026-01-04 20:23:12 +01:00
parent a16cac255b
commit d21e28f0d5

View File

@@ -41,7 +41,7 @@
//////////////////////////////////////////////////////
//Check for XSI shared memory objects. They are available in nearly all UNIX platforms
//////////////////////////////////////////////////////
#if !defined(__QNXNTO__) && !defined(__ANDROID__) && !defined(__HAIKU__) && !(__VXWORKS__) && !(__EMSCRIPTEN__)
#if !defined(__QNXNTO__) && !defined(__ANDROID__) && !defined(__HAIKU__) && !defined(__VXWORKS__) && !defined(__EMSCRIPTEN__)
#define BOOST_INTERPROCESS_XSI_SHARED_MEMORY_OBJECTS
#endif