aboutsummaryrefslogtreecommitdiff
path: root/src/port/win32common.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-02-12 11:57:45 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2024-02-12 11:57:45 +0200
commit09eb633e1baa3b7cd7929f3cc77f9c46f63c20b1 (patch)
treec7b5b2729cd4bd98bee8876eff9126db46432097 /src/port/win32common.c
parent9f35e42e7d59fb8716020a42c7b586f0d70a5101 (diff)
downloadpostgresql-09eb633e1baa3b7cd7929f3cc77f9c46f63c20b1.tar.gz
postgresql-09eb633e1baa3b7cd7929f3cc77f9c46f63c20b1.zip
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
Diffstat (limited to 'src/port/win32common.c')
-rw-r--r--src/port/win32common.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/port/win32common.c b/src/port/win32common.c
index f9ccfbf7255..dc83396236d 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 */