mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
- 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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user