mirror of
https://github.com/postgres/postgres.git
synced 2026-02-21 17:00:40 -05: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue