1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-15 19:21:59 +03:00

Remove "#ifdef WIN32" guards from src/port/win32*.c

These files are only compiled on Windows, and most of them didn't have
"#ifdef WIN32" guards. Remove them from the few that did, for
consistency.

Author: Tristan Partin
Discussion: https://www.postgresql.org/message-id/CXGM9RYSXA2J.1DBO4MRXGZA9P@neon.tech
This commit is contained in:
Heikki Linnakangas
2024-02-12 11:57:45 +02:00
parent 9f35e42e7d
commit 09eb633e1b
3 changed files with 2 additions and 10 deletions

View File

@ -13,8 +13,6 @@
*-------------------------------------------------------------------------
*/
#ifdef WIN32
#include "c.h"
#include "port/win32ntdll.h"
@ -302,5 +300,3 @@ _pgfstat64(int fileno, struct stat *buf)
buf->st_nlink = 1;
return 0;
}
#endif /* WIN32 */