comparison Framework/PostgreSQL/PostgreSQLIncludes.h @ 152:063aa53b5917

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 01 Jul 2020 08:54:32 +0200
parents 4cd7e45b671e
children 8c7bb94adff7
comparison
equal deleted inserted replaced
150:d9101318442d 152:063aa53b5917
24 // These includes are necessary for compilation on OS X 24 // These includes are necessary for compilation on OS X
25 #include <unistd.h> 25 #include <unistd.h>
26 #include <vector> 26 #include <vector>
27 #include <map> 27 #include <map>
28 #include <cmath> 28 #include <cmath>
29 #include <Core/Enumerations.h> 29 #include <Enumerations.h>
30 30
31 /** 31 /**
32 * This include must be before including "c.h" from PostgreSQL, 32 * This include must be before including "c.h" from PostgreSQL,
33 * otherwise the function "static bool 33 * otherwise the function "static bool
34 * boost::date_time::special_values_parser<date_type, 34 * boost::date_time::special_values_parser<date_type,
40 // PostgreSQL includes 40 // PostgreSQL includes
41 #include <pg_config.h> 41 #include <pg_config.h>
42 42
43 #if PG_VERSION_NUM >= 110000 43 #if PG_VERSION_NUM >= 110000
44 # include <postgres.h> 44 # include <postgres.h>
45 # undef LOG // This one comes from <postgres.h>, and conflicts with <Core/Logging.h> 45 # undef LOG // This one comes from <postgres.h>, and conflicts with <Logging.h>
46 #endif 46 #endif
47 47
48 #include <libpq-fe.h> 48 #include <libpq-fe.h>
49 #include <c.h> 49 #include <c.h>
50 #include <catalog/pg_type.h> 50 #include <catalog/pg_type.h>