Go to the documentation of this file.
27 #ifndef CRYPTO3_DETAIL_CONFIG_HPP
28 #define CRYPTO3_DETAIL_CONFIG_HPP
30 #include <boost/config.hpp>
32 #if (__clang_major__ >= 4 || (__clang_major__ >= 3 && __clang_minor__ >= 8))
33 #define BOOST_ATTRIBUTE_TARGET(isa) __attribute__((target(isa)))
36 #if defined(__clang__) && !defined(_MSC_VER)
37 #define BOOST_ATTRIBUTE_MALLOC_FUNCTION __attribute__((malloc))
41 #if (BOOST_GCC_VERSION >= 40800)
42 #define BOOST_ATTRIBUTE_TARGET(isa) __attribute__((target(isa)))
45 #define BOOST_ATTRIBUTE_MALLOC_FUNCTION __attribute__((malloc))
49 #define BOOST_ATTRIBUTE_MALLOC_FUNCTION __declspec(restrict)