增加宏,WIN32不使用

This commit is contained in:
xx
2024-06-02 23:12:32 +08:00
parent 2fc5b23f86
commit 04abed3cb7

View File

@@ -1,4 +1,5 @@
#include "db/mysql.h"
#if defined(_WIN32) && defined(WIN64) || !defined(_WIN32)
#include "cppconn/driver.h"
#include "cppconn/connection.h"
#include "cppconn/statement.h"
@@ -747,3 +748,4 @@ ylib::json ylib::mysql::result::to_json()
}
return result;
}
#endif