pgsql: Protect zic's symlink() call with #ifdef HAVE_SYMLINK.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Protect zic's symlink() call with #ifdef HAVE_SYMLINK.
Date: 2016-03-29 15:06:52
Message-ID: E1akvEK-0003Cz-E0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Protect zic's symlink() call with #ifdef HAVE_SYMLINK.

The IANA crew seem to think that symlink() exists everywhere nowadays,
and they may well be right. But we use #ifdef HAVE_SYMLINK elsewhere
so for consistency we should do it here too. Noted by Michael Paquier.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/534da37927f97ae7cb1b468963ba9bca747209ea

Modified Files
--------------
src/timezone/zic.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2016-03-29 15:28:31 pgsql: Rework custom scans to work more like the new extensible node st
Previous Message Tom Lane 2016-03-29 14:40:13 pgsql: Fix zic for Windows.