The file is only referenced in Meson and MSVC scripts from what I can
tell, and the Meson reference is protected by a Windows check.
--
Tristan Partin
Neon (https://neon.tech)
From bc9ffc7b0b141959a4c2a3f8b731f457ff5825c1 Mon Sep 17 00:00:00 2001
From: Tristan Partin <tris...@neon.tech>
Date: Tue, 5 Dec 2023 10:18:37 -0600
Subject: [PATCH v1] Remove WIN32 conditional compilation from win32common.c
This file is only compiled when WIN32 is defined, so the #ifdef was
not needed.
---
src/port/win32common.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/src/port/win32common.c b/src/port/win32common.c
index 2fd78f7f93..a075d01209 100644
--- a/src/port/win32common.c
+++ b/src/port/win32common.c
@@ -19,8 +19,6 @@
#include "postgres.h"
#endif
-#ifdef WIN32
-
/*
* pgwin32_get_file_type
*
@@ -64,5 +62,3 @@ pgwin32_get_file_type(HANDLE hFile)
return fileType;
}
-
-#endif /* WIN32 */
--
Tristan Partin
Neon (https://neon.tech)