Mercurial > hg > orthanc-databases
diff Framework/PostgreSQL/PostgreSQLIncludes.h @ 172:8c7bb94adff7
trying upgrade from libpq 9.6.1 to 13.1
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 11 Dec 2020 12:49:33 +0100 |
parents | 063aa53b5917 |
children | 30d3f68631d2 |
line wrap: on
line diff
--- a/Framework/PostgreSQL/PostgreSQLIncludes.h Fri Nov 06 17:51:01 2020 +0100 +++ b/Framework/PostgreSQL/PostgreSQLIncludes.h Fri Dec 11 12:49:33 2020 +0100 @@ -40,6 +40,10 @@ // PostgreSQL includes #include <pg_config.h> +#if !defined(PG_VERSION_NUM) +# error PG_VERSION_NUM is not defined +#endif + #if PG_VERSION_NUM >= 110000 # include <postgres.h> # undef LOG // This one comes from <postgres.h>, and conflicts with <Logging.h>