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