1 // Copyright (c) 2005-2013 Hartmut Kaiser
2 // Distributed under the Boost Software License, Version 1.0.
3 // (See accompanying file LICENSE_1_0.txt
4 // or copy at http://www.boost.org/LICENSE_1_0.txt)
5 
6 #ifndef HPX_UTIL_PLUGIN_DLL_HPP
7 #define HPX_UTIL_PLUGIN_DLL_HPP
8 
9 #include <hpx/config.hpp>
10 
11 #ifndef HPX_MSVC
12 # ifndef  HPX_HAS_DLOPEN
13 #  define HPX_HAS_DLOPEN 1
14 # endif
15 #endif
16 
17 #if defined(HPX_MSVC) || defined(HPX_MINGW)
18 #include <hpx/util/plugin/detail/dll_windows.hpp>
19 #elif defined(HPX_HAS_DLOPEN)
20 #include <hpx/util/plugin/detail/dll_dlopen.hpp>
21 #else
22 #error "Hpx.Plugin: your platform is not supported by this library."
23 #endif
24 
25 #endif /*HPX_UTIL_PLUGIN_DLL_HPP*/
26