Re: S_ISLNK

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Nicholas White <n.j.white@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2012-11-14T14:25:59Z
Lists: pgsql-hackers
Nicholas White <n.j.white@gmail.com> writes:
> Hi - I'm cross-compiling the master branch (cygwin/mingw) and have found a
> reference to S_ISLNK that isn't guarded by #ifndef WIN32 like the ones in
> basebackup.c are.

That whole function is guarded by HAVE_READLINK, so I'm not seeing the
problem (and neither are the Windows members of the buildfarm).  What
environment are you in that has readlink() and not S_ISLNK?

			regards, tom lane