Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit bde60da

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 parent 9430fb4 commit bde60da

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/include/port/win32_port.h

+2
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+
#ifndef HAVE_FDATASYNC
9091
#define HAVE_FDATASYNC
92+
#endif
9193

9294
#define USES_WINSOCK
9395

0 commit comments

Comments
 (0)