0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-15 20:31:16 +08:00

Fix include for iso646 missing for MSVC

This commit is contained in:
Moritz Wirger 2022-12-09 15:45:37 +01:00 committed by Roland Bock
parent c550694b44
commit 42bd3cc79b
3 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,10 @@
#include <sqlpp11/exception.h> #include <sqlpp11/exception.h>
#include <sqlpp11/mysql/sqlpp_mysql.h> #include <sqlpp11/mysql/sqlpp_mysql.h>
#ifdef _MSC_VER
#include <iso646.h>
#endif
namespace sqlpp namespace sqlpp
{ {
namespace mysql namespace mysql

View File

@ -39,6 +39,7 @@
#include "detail/prepared_statement_handle.h" #include "detail/prepared_statement_handle.h"
#ifdef _MSC_VER #ifdef _MSC_VER
#include <iso646.h>
#pragma warning(disable : 4800) // int to bool #pragma warning(disable : 4800) // int to bool
#endif #endif
namespace sqlpp namespace sqlpp

View File

@ -35,6 +35,7 @@
#include <sqlpp11/sqlite3/prepared_statement_handle.h> #include <sqlpp11/sqlite3/prepared_statement_handle.h>
#ifdef _MSC_VER #ifdef _MSC_VER
#include <iso646.h>
#pragma warning(push) #pragma warning(push)
#pragma warning(disable : 4251) #pragma warning(disable : 4251)
#endif #endif