libcarla/include/system/boost/qvm/config.hpp

48 lines
1.2 KiB
C++
Raw Permalink Normal View History

2024-10-18 13:19:59 +08:00
// Copyright 2008-2022 Emil Dotchevski and Reverge Studios, Inc.
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_QVM_CONFIG_HPP_INCLUDED
#define BOOST_QVM_CONFIG_HPP_INCLUDED
#ifndef BOOST_QVM_FORCEINLINE
# if defined(_MSC_VER)
# define BOOST_QVM_FORCEINLINE __forceinline
# elif defined(__GNUC__) && __GNUC__>3
# define BOOST_QVM_FORCEINLINE inline __attribute__ ((always_inline))
# else
# define BOOST_QVM_FORCEINLINE inline
# endif
#endif
#ifndef BOOST_QVM_INLINE
# define BOOST_QVM_INLINE inline
#endif
#ifndef BOOST_QVM_INLINE_TRIVIAL
# define BOOST_QVM_INLINE_TRIVIAL BOOST_QVM_FORCEINLINE
#endif
#ifndef BOOST_QVM_INLINE_CRITICAL
# define BOOST_QVM_INLINE_CRITICAL BOOST_QVM_FORCEINLINE
#endif
#ifndef BOOST_QVM_INLINE_OPERATIONS
# define BOOST_QVM_INLINE_OPERATIONS BOOST_QVM_INLINE
#endif
#ifndef BOOST_QVM_INLINE_RECURSION
# define BOOST_QVM_INLINE_RECURSION BOOST_QVM_INLINE_OPERATIONS
#endif
#ifndef BOOST_QVM_CONSTEXPR
# if __cplusplus >= 201703L
# define BOOST_QVM_CONSTEXPR constexpr
# else
# define BOOST_QVM_CONSTEXPR
# endif
#endif
#endif