Some updates
This commit is contained in:
parent
71d1cc666b
commit
e500f8c0aa
@ -232,7 +232,7 @@ set(TEST_LIBRARIES
|
||||
tomcrypt::static
|
||||
tommath::static
|
||||
|
||||
mysqlclient::static
|
||||
mysqlclient.a
|
||||
jsoncpp_lib
|
||||
${ed25519_LIBRARIES_STATIC}
|
||||
${DataPipes_LIBRARIES_SHARED} # Also includes glib2.0
|
||||
|
@ -7,7 +7,14 @@
|
||||
#include "sql/SqlQuery.h"
|
||||
|
||||
#include "../../misc/spin_lock.h"
|
||||
#include <mysql.h>
|
||||
|
||||
#if defined(HAVE_MYSQL_MYSQL_H)
|
||||
#include <mysql/mysql.h>
|
||||
#elif defined(HAVE_MYSQL_H)
|
||||
#include <mysql.h>
|
||||
#else
|
||||
typedef void MYSQL;
|
||||
#endif
|
||||
|
||||
#define ERROR_MYSQL_MISSING_DRIVER -1
|
||||
#define ERROR_MYSQL_INVLID_CONNECT -2
|
||||
|
Loading…
Reference in New Issue
Block a user