From 04abed3cb7089422351e51d78a4ba5346bf827a1 Mon Sep 17 00:00:00 2001 From: xx Date: Sun, 2 Jun 2024 23:12:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AE=8F=EF=BC=8CWIN32?= =?UTF-8?q?=E4=B8=8D=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/db/mysql.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/db/mysql.cpp b/src/db/mysql.cpp index 0d6b305..d6524e3 100644 --- a/src/db/mysql.cpp +++ b/src/db/mysql.cpp @@ -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 \ No newline at end of file