mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Fix warnings on Windows.
Avoid macro redefinition warnings. Reported-by: David Rowley <dgrowleyml@gmail.com> Discussion: https://postgr.es/m/CAApHDvocHp4SXcPeMTwFiCQGaf9JypjTJ3Bh90jcPuGwxyDjjQ%40mail.gmail.com
This commit is contained in:
parent
9430fb407b
commit
bde60daa0e
@ -87,7 +87,9 @@
|
||||
* We have a replacement for fdatasync() in src/port/fdatasync.c, which is
|
||||
* unconditionally used by MSVC and Mingw builds.
|
||||
*/
|
||||
#ifndef HAVE_FDATASYNC
|
||||
#define HAVE_FDATASYNC
|
||||
#endif
|
||||
|
||||
#define USES_WINSOCK
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user