pgsql: Move the line to undefine setlocale() macro on Win32 outside USE

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move the line to undefine setlocale() macro on Win32 outside USE
Date: 2011-09-01 06:37:13
Message-ID: E1Qz0tl-0002oU-La@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Move the line to undefine setlocale() macro on Win32 outside USE_REPL_SNPRINTF
ifdef block. It has nothing to do with whether the replacement snprintf
function is used. It caused no live bug, because the replacement snprintf
function is always used on Win32, but it was nevertheless misplaced.

Branch
------
REL8_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c42438364c940bb29ce2d0b2daf5c0a3f3a7b5a0

Modified Files
--------------
src/include/port.h | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2011-09-01 08:16:13 pgsql: setlocale() on Windows doesn't work correctly if the locale name
Previous Message Tom Lane 2011-09-01 04:20:31 pgsql: Further repair of eqjoinsel ndistinct-clamping logic.