- Rewritten posix features detection according to the first POSIX/Single Unix Specification that standardized it.

- Added macro for unnamed semaphores as OSX claims this support but returns ENOSYS, which is not very useful.
- Added macro for mapped files, as QNX does not support them.
This commit is contained in:
Ion Gaztañaga
2015-01-31 23:18:32 +01:00
parent 870d1b8e2d
commit 25bb48435f
9 changed files with 130 additions and 67 deletions

View File

@@ -7,6 +7,8 @@
// See http://www.boost.org/libs/interprocess for documentation.
//
//////////////////////////////////////////////////////////////////////////////
#if defined(BOOST_INTERPROCESS_MAPPED_FILES)
#include <boost/interprocess/detail/config_begin.hpp>
#include <boost/interprocess/detail/workaround.hpp>
@@ -106,3 +108,10 @@ int main ()
}
#include <boost/interprocess/detail/config_end.hpp>
#else //#if defined(BOOST_INTERPROCESS_MAPPED_FILES)
int main()
{
return 0;
}
#endif//#if defined(BOOST_INTERPROCESS_MAPPED_FILES)