Using normal MySQL headers
This commit is contained in:
parent
f99490447f
commit
3661056d2a
|
@ -196,6 +196,7 @@ target_link_libraries(TeaSpeak PUBLIC
|
||||||
threadpool::static jsoncpp_lib
|
threadpool::static jsoncpp_lib
|
||||||
tomcrypt::static
|
tomcrypt::static
|
||||||
tommath::static
|
tommath::static
|
||||||
|
dl
|
||||||
)
|
)
|
||||||
|
|
||||||
target_compile_options(TeaSpeak PRIVATE "-Wall" "-DHAVE_MYSQL_H")
|
target_compile_options(TeaSpeak PRIVATE "-Wall" "-DHAVE_MYSQL_H")
|
||||||
|
|
|
@ -7,6 +7,11 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#ifndef CR_CONNECTION_ERROR
|
||||||
|
#define CR_CONNECTION_ERROR (2002)
|
||||||
|
#define CR_SERVER_GONE_ERROR (2006)
|
||||||
|
#define CR_SERVER_LOST (2013)
|
||||||
|
#endif
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace sql;
|
using namespace sql;
|
||||||
using namespace sql::mysql;
|
using namespace sql::mysql;
|
||||||
|
|
Loading…
Reference in New Issue