pgsql: Fix configure check for %z printf support after INT64_MODIFIER c

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix configure check for %z printf support after INT64_MODIFIER c
Date: 2014-09-18 08:05:15
Message-ID: E1XUWiJ-00078K-UT@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix configure check for %z printf support after INT64_MODIFIER changes.

The PGAC_FUNC_SNPRINTF_SIZE_T_SUPPORT test was broken by
ce486056ecd28050. Among others it made the UINT64_FORMAT macro to be
defined in c.h, instead of directly being defined by configure.

This lead to the replacement printf being used on all platforms for a
while. Which seems to work, because this was only used due to
different profiles ;)

Fix by relying on INT64_MODIFIER instead.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7e3f728353fa9b36c7f98b6ec447d3f1b8deec14

Modified Files
--------------
config/c-library.m4 | 3 ++-
configure | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Abhijit Menon-Sen 2014-09-19 10:50:49 Re: pgsql: Add #define INT64_MODIFIER for the printf length modifier for 64
Previous Message Andres Freund 2014-09-17 15:59:19 Re: pgsql: Add #define INT64_MODIFIER for the printf length modifier for 64