mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-04 12:10:43 -06:00
Conditional include for ciso646, #626
This commit is contained in:
@@ -26,7 +26,9 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <ciso646> // Required for some compilers to use aliases for boolean operators
|
||||
#ifdef _MSC_VER
|
||||
#include <ciso646> // Required to support boolean operator aliases
|
||||
#endif
|
||||
|
||||
#include <sqlpp11/type_traits.h>
|
||||
#include <sqlpp11/alias_operators.h>
|
||||
|
||||
@@ -26,7 +26,10 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <ciso646> // Required for some compilers to use aliases for boolean operators
|
||||
#ifdef _MSC_VER
|
||||
#include <ciso646> // Required to support boolean operator aliases
|
||||
#endif
|
||||
|
||||
#include <type_traits>
|
||||
|
||||
namespace sqlpp
|
||||
|
||||
@@ -26,18 +26,19 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <ciso646> // Required to support boolean operator aliases
|
||||
#endif
|
||||
|
||||
#include <limits>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
|
||||
#include <sqlpp11/chrono.h>
|
||||
#include <sqlpp11/exception.h>
|
||||
#include <sqlpp11/mysql/detail/prepared_statement_handle.h>
|
||||
#include <sqlpp11/mysql/sqlpp_mysql.h>
|
||||
|
||||
#include <iostream>
|
||||
#ifdef _MSC_VER
|
||||
#include <iso646.h>
|
||||
#endif
|
||||
#include <memory>
|
||||
|
||||
namespace sqlpp
|
||||
{
|
||||
|
||||
@@ -26,7 +26,10 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <ciso646>
|
||||
#ifdef _MSC_VER
|
||||
#include <ciso646> // Required to support boolean operator aliases
|
||||
#endif
|
||||
|
||||
#include <cstdlib>
|
||||
#include <iostream>
|
||||
#include <memory>
|
||||
|
||||
@@ -27,6 +27,10 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <ciso646> // Required to support boolean operator aliases
|
||||
#endif
|
||||
|
||||
#include <sqlpp11/chrono.h>
|
||||
#include <sqlpp11/data_types.h>
|
||||
#include <sqlpp11/detail/parse_date_time.h>
|
||||
@@ -39,7 +43,6 @@
|
||||
#include "detail/prepared_statement_handle.h"
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <iso646.h>
|
||||
#pragma warning(disable : 4800) // int to bool
|
||||
#endif
|
||||
namespace sqlpp
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <ciso646> // Required to support boolean operator aliases
|
||||
#endif
|
||||
|
||||
#include <sqlpp11/chrono.h>
|
||||
#include <sqlpp11/detail/parse_date_time.h>
|
||||
#include <sqlpp11/exception.h>
|
||||
@@ -36,7 +40,6 @@
|
||||
#include <memory>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <iso646.h>
|
||||
#pragma warning(push)
|
||||
#pragma warning(disable : 4251)
|
||||
#endif
|
||||
|
||||
@@ -26,8 +26,11 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <ciso646> // Required to support boolean operator aliases
|
||||
#endif
|
||||
|
||||
#include <memory>
|
||||
#include <ciso646>
|
||||
#include <cmath>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@@ -26,9 +26,13 @@
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <ciso646> // Required to support boolean operator aliases
|
||||
#endif
|
||||
|
||||
#include <stdexcept>
|
||||
#include <string>
|
||||
#include <ciso646>
|
||||
|
||||
|
||||
namespace sqlpp
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user