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

Commitbde60da

Browse files
committed
Fix warnings on Windows.
Avoid macro redefinition warnings.Reported-by: David Rowley <dgrowleyml@gmail.com>Discussion:https://postgr.es/m/CAApHDvocHp4SXcPeMTwFiCQGaf9JypjTJ3Bh90jcPuGwxyDjjQ%40mail.gmail.com
1 parent9430fb4 commitbde60da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/include/port/win32_port.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,9 @@
8787
* We have a replacement for fdatasync() in src/port/fdatasync.c, which is
8888
* unconditionally used by MSVC and Mingw builds.
8989
*/
90+
#ifndefHAVE_FDATASYNC
9091
#defineHAVE_FDATASYNC
92+
#endif
9193

9294
#defineUSES_WINSOCK
9395

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp