Blame view

3rdparty/boost_1_81_0/boost/qvm/config.hpp 1.21 KB
dbf9e800   Hu Chunming   提交_GLIBCXX_USE_CX...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
  // 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