1 
2 // Copyright 2018 Peter Dimov.
3 // Distributed under the Boost Software License, Version 1.0.
4 
5 #include <boost/function.hpp>
6 #include <boost/config.hpp>
7 
8 #if defined(THROW_BAD_FUNCTION_CALL_DYN_LINK)
9 # define EXPORT BOOST_SYMBOL_EXPORT
10 #else
11 # define EXPORT
12 #endif
13 
throw_bad_function_call()14 EXPORT void throw_bad_function_call()
15 {
16     throw boost::bad_function_call();
17 }
18