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

Commitadf6b8e

Browse files
committed
Spell __darwin__ correctly, to suppress compiler warning on OSX.
1 parente9ad14f commitadf6b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎contrib/pg_upgrade/file.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ pg_scandir(migratorContext *ctx, const char *dirname,
245245
* autoconf doesn't have a suitable builtin test and it seems overkill
246246
* to add one just to avoid a warning.
247247
*/
248-
#elif defined(freebsd)|| defined(bsdi)|| defined(darwin)|| defined(openbsd)
248+
#elif defined(freebsd)|| defined(bsdi)|| defined(__darwin__)|| defined(openbsd)
249249
/* no const */
250250
returnscandir(dirname,namelist, (int (*) (structdirent*))selector,NULL);
251251
#else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp