File tree Expand file tree Collapse file tree
include/boost/interprocess/detail Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8686 // ////////////////////////////////////////////////////
8787 // BOOST_INTERPROCESS_POSIX_ROBUST_MUTEXES
8888 // ////////////////////////////////////////////////////
89- #if (_XOPEN_SOURCE >= 700 || _POSIX_C_SOURCE >= 200809L)
89+ #if ( defined( _XOPEN_SOURCE) && (_XOPEN_SOURCE >= 700) ) || ( defined( _POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200809L) )
9090 #define BOOST_INTERPROCESS_POSIX_ROBUST_MUTEXES
9191 #endif
9292
178178 // ////////////////////////////////////////////////////
179179 // posix_fallocate
180180 // ////////////////////////////////////////////////////
181- #if (_XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L)
181+ #if ( defined( _XOPEN_SOURCE) && (_XOPEN_SOURCE >= 600) ) || ( defined( _POSIX_C_SOURCE) && (_POSIX_C_SOURCE >= 200112L) )
182182 #define BOOST_INTERPROCESS_POSIX_FALLOCATE
183183 #endif
184184
You can’t perform that action at this time.
0 commit comments