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 define the BSD symbols if sys/param.h is included
10 * before detection. This causes the endian detection to misfire
11 * as both MACOS and BSD are "detected" (currently). This just
12 * tests that the sys/param.h include can be included before
13 * endian detection and still have it work correctly.
16 #if defined(__APPLE__)
17 # include <sys/param.h>
18 # include <boost/predef/os/bsd.h>
19 # include <boost/predef/os/macos.h>
20 # include <boost/predef/other/endian.h>