1 /*
2 Copyright Rene Rivera 2013
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
6 */
7 
8 /*
9  * OSX can masquerade as BSD when sys/param.h is previously included.
10  * So we test that we only detect OSX in this combination.
11  */
12 #if defined(__APPLE__)
13 #   include <sys/param.h>
14 #   include <boost/predef/os/bsd.h>
15 #   include <boost/predef/os/macos.h>
16 #   if !BOOST_OS_MACOS || BOOST_OS_BSD
17 #       error "BOOST_OS_MACOS not detected and/or BOOST_OS_BSD mis-detected."
18 #   endif
19 #endif
20