1 //  Copyright (c) 2012-2016 Thomas Heller
2 //
3 //  Distributed under the Boost Software License, Version 1.0. (See accompanying
4 //  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 #ifndef HPX_CONFIG_FORCEINLINE_HPP
7 #define HPX_CONFIG_FORCEINLINE_HPP
8 
9 #include <hpx/config/compiler_specific.hpp>
10 
11 #if !defined(HPX_FORCEINLINE)
12 #   if defined(__NVCC__) || defined(__CUDACC__)
13 #       define HPX_FORCEINLINE inline
14 #   elif defined(HPX_MSVC)
15 #       define HPX_FORCEINLINE __forceinline
16 #   elif defined(__GNUC__)
17 #       define HPX_FORCEINLINE inline __attribute__ ((__always_inline__))
18 #   else
19 #       define HPX_FORCEINLINE inline
20 #   endif
21 #endif
22 
23 
24 #endif
25