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

Commit1e81f84

Browse files
committed
Fix comment.
Previous commit was confused about the case we're handling: actually,what the patch is dealing with is platforms that have optreset, *and*have <getopt.h>, but the latter fails to declare the former. Becausewe use a linking probe to set HAVE_INT_OPTRESET, we need to be sure wehave a declaration even if <getopt.h> doesn't think it exists.
1 parent0c15a52 commit1e81f84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/pg_getopt.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ extern intoptopt;
3232
#endif/* HAVE_GETOPT_H */
3333

3434
/*
35-
* Some platforms have optreset butnot<getopt.h>. Cygwin, however,
36-
* doesn't like this either.
35+
* Some platforms have optreset butfail to declare it in<getopt.h>, so cope.
36+
*Cygwin, however,doesn't like this either.
3737
*/
3838
#if defined(HAVE_INT_OPTRESET)&& !defined(__CYGWIN__)
3939
externintoptreset;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp