From 09eb633e1baa3b7cd7929f3cc77f9c46f63c20b1 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Mon, 12 Feb 2024 11:57:45 +0200 Subject: 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 --- src/port/win32stat.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/port/win32stat.c') diff --git a/src/port/win32stat.c b/src/port/win32stat.c index cebf96f965b..7ab35024af3 100644 --- a/src/port/win32stat.c +++ b/src/port/win32stat.c @@ -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 */ -- cgit v1.2.3