diff options
Diffstat (limited to 'src/server/database/Database/MySQLThreading.cpp')
-rw-r--r-- | src/server/database/Database/MySQLThreading.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/server/database/Database/MySQLThreading.cpp b/src/server/database/Database/MySQLThreading.cpp index eccfdfeb6c5..4ce39389eab 100644 --- a/src/server/database/Database/MySQLThreading.cpp +++ b/src/server/database/Database/MySQLThreading.cpp @@ -16,10 +16,7 @@ */ #include "MySQLThreading.h" -#ifdef _WIN32 // hack for broken mysql.h not including the correct winsock header for SOCKET definition, fixed in 5.7 -#include <winsock2.h> -#endif -#include <mysql.h> +#include "MySQLWorkaround.h" void MySQL::Library_Init() { @@ -30,3 +27,8 @@ void MySQL::Library_End() { mysql_library_end(); } + +char const* TC_DATABASE_API MySQL::GetLibraryVersion() +{ + return MYSQL_SERVER_VERSION; +} |