Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit127ccb3

Browse files
committed
Fix compiler warning for ppoll() on Cygwin
_GNU_SOURCE is required to get the prototype, so just define thatglobally, as was already done in the linux template.Discussion:https://www.postgresql.org/message-id/flat/6b467edc-4018-521f-ab18-171f098557ca%402ndquadrant.com
1 parent5406513 commit127ccb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/template/cygwin

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
SRCH_LIB="/usr/local/lib"
44

5+
# This is required for ppoll(2), and perhaps other things
6+
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
7+
58
# Extra CFLAGS for code that will go into a shared library
69
CFLAGS_SL=""
710

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp