]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/predef/test/macos_vs_bsd.c
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)
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.
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."