1 //  Copyright (c) 2018 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 #if !defined(HPX_CONFIG_WEAK_SYMBOL_HPP)
7 #define HPX_CONFIG_WEAK_SYMBOL_HPP
8 
9 #if (defined(__GNUC__) || defined(__clang__)) && !defined(_MSC_VER)
10 #define HPX_WEAK_SYMBOL __attribute__((weak))
11 #else
12 #define HPX_WEAK_SYMBOL
13 #endif
14 
15 #endif
16