On all Windows platforms, not just Cygwin, use _timezone and _tzname.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 1 May 2018 16:02:41 +0000 (12:02 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 12 Sep 2018 16:25:57 +0000 (12:25 -0400)
commit520711d6e23e313bb2b3de39667a6596953ceed0
tree4833dbbf8939032f0ad03c0079fd76c090a85b03
parent48c978f3ed20961a69189eab2e26e0fa0f54986f
On all Windows platforms, not just Cygwin, use _timezone and _tzname.

Back-patch commit 868628e4f into the 9.5 branch, so that we can support
building that branch with Visual Studio 2015.  This patch itself could
go further back, but other VS2015 patches such as 0fb54de9a and c8e81afc6
were only back-patched to 9.5, so there seems little point in handling
this one differently.

Discussion: https://postgr.es/m/CAD=LzWFg+Z-KUS3Wm8-1J2vOuYErJXbjuE6b7quzswQEBXJWMQ@mail.gmail.com

Now that we have backported VS2015 support to 9.4 and 9.3, backport this also.
src/include/port.h