#define SINGLETON_DLL_SOURCE #include "singleton_dll.hpp" void create_double_singleton() { boost::interprocess::ipcdetail::intermodule_singleton::get(); }