Commit 8ef75e66 authored by Mateusz Loskot's avatar Mateusz Loskot

Fixed undefined strtoll in PostgreSQL when compiling with Visual C++. Missing...

Fixed undefined strtoll in PostgreSQL when compiling with Visual C++. Missing soci-platform.h include.
parent 7a32fc19
......@@ -7,6 +7,7 @@
#define SOCI_POSTGRESQL_SOURCE
#include "soci-postgresql.h"
#include <soci-platform.h>
#include <libpq/libpq-fs.h> // libpq
#include <cctype>
#include <cstdio>
......
......@@ -529,9 +529,9 @@ struct table_creator_three : public table_creator_base
class test_context : public test_context_base
{
public:
test_context(backend_factory const &backEnd,
std::string const &connectString)
: test_context_base(backEnd, connectString) {}
test_context(backend_factory const &backEnd, std::string const &connectString)
: test_context_base(backEnd, connectString)
{}
table_creator_base* table_creator_1(session& s) const
{
......@@ -552,7 +552,6 @@ public:
{
return "timestamptz(\'" + datdt_string + "\')";
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment