pgsql: On all Windows platforms, not just Cygwin, use _timezone and _tz

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: On all Windows platforms, not just Cygwin, use _timezone and _tz
Date: 2016-03-29 01:06:38
Message-ID: E1aki7C-0006rd-Ex@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On all Windows platforms, not just Cygwin, use _timezone and _tzname.

Up until now, we've been using timezone and tzname, but Visual Studio
2015 (for which we wish to add support) no longer declares those
symbols. All versions since Visual Studio 2003 apparently support the
underscore-equipped names, and we don't support anything older than
Visual Studio 2005, so this should work OK everywhere. But let's see
what the buildfarm thinks.

Michael Paquier, reviewed by Petr Jelinek

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/868628e4fd44d75987d6c099ac63613cc5417629

Modified Files
--------------
src/include/port.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2016-03-29 01:15:18 Re: [COMMITTERS] pgsql: Sync tzload() and tzparse() APIs with IANA release tzcode2016c.
Previous Message Robert Haas 2016-03-29 00:57:24 pgsql: Fix typo in comment.