Skip to content

Commit

Permalink
Fix include for iso646 missing for MSVC
Browse files Browse the repository at this point in the history
  • Loading branch information
enwi authored and rbock committed Dec 10, 2022
1 parent c550694 commit 42bd3cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/sqlpp11/mysql/bind_result.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
#include <sqlpp11/exception.h>
#include <sqlpp11/mysql/sqlpp_mysql.h>

#ifdef _MSC_VER
#include <iso646.h>
#endif

namespace sqlpp
{
namespace mysql
Expand Down
1 change: 1 addition & 0 deletions include/sqlpp11/postgresql/bind_result.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "detail/prepared_statement_handle.h"

#ifdef _MSC_VER
#include <iso646.h>
#pragma warning(disable : 4800) // int to bool
#endif
namespace sqlpp
Expand Down
1 change: 1 addition & 0 deletions include/sqlpp11/sqlite3/bind_result.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include <sqlpp11/sqlite3/prepared_statement_handle.h>

#ifdef _MSC_VER
#include <iso646.h>
#pragma warning(push)
#pragma warning(disable : 4251)
#endif
Expand Down

0 comments on commit 42bd3cc

Please sign in to comment.