Mercurial > hg > vamp-build-and-test
view DEPENDENCIES/generic/include/boost/align/aligned_alloc.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | f46d142149f5 |
children |
line wrap: on
line source
/* (c) 2014 Glen Joseph Fernandes glenjofe at gmail dot com Distributed under the Boost Software License, Version 1.0. http://boost.org/LICENSE_1_0.txt */ #ifndef BOOST_ALIGN_ALIGNED_ALLOC_HPP #define BOOST_ALIGN_ALIGNED_ALLOC_HPP #include <boost/config.hpp> #if defined(BOOST_HAS_UNISTD_H) #include <unistd.h> #endif #if defined(__APPLE__) || defined(__APPLE_CC__) || defined(macintosh) #include <AvailabilityMacros.h> #endif #if defined(_MSC_VER) #include <boost/align/detail/aligned_alloc_msvc.hpp> #elif defined(__MINGW32__) && (__MSVCRT_VERSION__ >= 0x0700) #include <boost/align/detail/aligned_alloc_msvc.hpp> #elif MAC_OS_X_VERSION_MIN_REQUIRED >= 1090 #include <boost/align/detail/aligned_alloc_posix.hpp> #elif MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 #include <boost/align/detail/aligned_alloc_macos.hpp> #elif defined(__ANDROID__) #include <boost/align/detail/aligned_alloc_android.hpp> #elif defined(__SunOS_5_11) || defined(__SunOS_5_12) #include <boost/align/detail/aligned_alloc_posix.hpp> #elif defined(sun) || defined(__sun) #include <boost/align/detail/aligned_alloc_sunos.hpp> #elif (_POSIX_C_SOURCE >= 200112L) || (_XOPEN_SOURCE >= 600) #include <boost/align/detail/aligned_alloc_posix.hpp> #else #include <boost/align/detail/aligned_alloc.hpp> #endif #endif