diff --git a/src/pokerth.cpp b/src/pokerth.cpp index ab11931c..23856913 100755 --- a/src/pokerth.cpp +++ b/src/pokerth.cpp @@ -68,6 +68,9 @@ #include Q_IMPORT_PLUGIN(qjpeg) Q_IMPORT_PLUGIN(qgif) +#ifdef __GNUC__ +extern "C" void tss_cleanup_implemented() {} +#endif #endif using namespace std; diff --git a/src/pokerth_server.cpp b/src/pokerth_server.cpp index 51f21455..e4e4c190 100644 --- a/src/pokerth_server.cpp +++ b/src/pokerth_server.cpp @@ -51,6 +51,12 @@ #define ENABLE_LEAK_CHECK() #endif +#ifdef _WIN32 +#ifdef __GNUC__ +extern "C" void tss_cleanup_implemented() {} +#endif +#endif + using namespace std; namespace po = boost::program_options; using namespace boost::filesystem;