mirror of
https://github.com/postgres/postgres.git
synced 2025-07-18 17:42:25 +03: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:
@ -87,7 +87,9 @@
|
|||||||
* We have a replacement for fdatasync() in src/port/fdatasync.c, which is
|
* We have a replacement for fdatasync() in src/port/fdatasync.c, which is
|
||||||
* unconditionally used by MSVC and Mingw builds.
|
* unconditionally used by MSVC and Mingw builds.
|
||||||
*/
|
*/
|
||||||
|
#ifndef HAVE_FDATASYNC
|
||||||
#define HAVE_FDATASYNC
|
#define HAVE_FDATASYNC
|
||||||
|
#endif
|
||||||
|
|
||||||
#define USES_WINSOCK
|
#define USES_WINSOCK
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user