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

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

9294
#define USES_WINSOCK
9395

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy