changeset 147:1149cefd1cee

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Aug 2017 20:26:27 +0200 (2017-08-24)
parents 11c4f0a4b647 (current diff) 172ae96e853a (diff)
children 0ca5a383a830
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/PostgreSQLConfiguration.cmake	Thu Aug 24 20:26:07 2017 +0200
+++ b/Resources/CMake/PostgreSQLConfiguration.cmake	Thu Aug 24 20:26:27 2017 +0200
@@ -157,7 +157,8 @@
     file(READ ${CMAKE_SOURCE_DIR}/Resources/Platforms/printf_archetype.c SOURCE)
     check_c_source_compiles("${SOURCE}" printf_archetype)
     if (printf_archetype AND
-        NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
+        NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND
+        NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
       set(PG_PRINTF_ATTRIBUTE "gnu_printf")
     else()
       set(PG_PRINTF_ATTRIBUTE "printf")