pgsql: Fix compiler warning for ppoll() on Cygwin

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix compiler warning for ppoll() on Cygwin
Date: 2019-12-22 22:21:53
Message-ID: E1ij9bl-0007rN-9u@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix compiler warning for ppoll() on Cygwin

_GNU_SOURCE is required to get the prototype, so just define that
globally, as was already done in the linux template.

Discussion: https://www.postgresql.org/message-id/flat/6b467edc-4018-521f-ab18-171f098557ca%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/127ccb37251744c0fad2df0f3f67dd2c38fe8389

Modified Files
--------------
src/template/cygwin | 3 +++
1 file changed, 3 insertions(+)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2019-12-22 23:00:59 pgsql: Avoid low-probability regression test failures in timestamp[tz]
Previous Message Tom Lane 2019-12-21 22:39:56 pgsql: In pgwin32_open, loop after ERROR_ACCESS_DENIED only if we can't