changeset 161:6c94a727758c

Fix issue #68 (PostgreSQL plugin needs extra flags to compile)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Jan 2018 10:57:39 +0100
parents 0a83e88c315c
children c2ea17961dfc
files NEWS Resources/CMake/PostgreSQLConfiguration.cmake
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/NEWS	Fri Jan 05 09:52:50 2018 +0100
+++ b/NEWS	Fri Jan 05 10:57:39 2018 +0100
@@ -5,6 +5,7 @@
 * Performance warning if runtime debug assertions are turned on
 * Fix issue 62 (use correct type for lo_read() value)
 * Fix issue 63 (allow to connect without specifing username and/or port)
+* Fix issue 68 (PostgreSQL plugin needs extra flags to compile)
 * Support of Linux Standard Base, OpenBSD and FreeBSD
 
 
--- a/Resources/CMake/PostgreSQLConfiguration.cmake	Fri Jan 05 09:52:50 2018 +0100
+++ b/Resources/CMake/PostgreSQLConfiguration.cmake	Fri Jan 05 10:57:39 2018 +0100
@@ -168,6 +168,7 @@
       endif()
     endif()
 
+    check_function_exists("isinf" HAVE_ISINF)
     check_function_exists("getaddrinfo" HAVE_GETADDRINFO)
     check_function_exists("gettimeofday" HAVE_GETTIMEOFDAY)
     check_function_exists("snprintf" HAVE_DECL_SNPRINTF)