From 5add3e8e5154d1155a3858ea5292911e7e61e81c Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed, 7 Feb 2001 20:00:08 +0000
Subject: [PATCH] Actually, it looks like DEF_PGPORT belongs over in
 config.h.win32 for the Windows build...

---
 src/include/config.h.win32   | 6 ++++--
 src/interfaces/libpq/win32.h | 6 ------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/src/include/config.h.win32 b/src/include/config.h.win32
index ec836d8190d..9bee5dc9b7c 100644
--- a/src/include/config.h.win32
+++ b/src/include/config.h.win32
@@ -1,15 +1,17 @@
 /*
  * Parts of config.h that you get with autoconf on other systems
  */
-
-
 #define PG_VERSION "7.1"
 #define PG_VERSION_STR "7.1 (win32)"
 
 #define SYSCONFDIR ""
 
+#define DEF_PGPORT 5432
 #define DEF_PGPORT_STR "5432"
+
 #define MAXIMUM_ALIGNOF 4
+#define ACCEPT_TYPE_ARG3 int
+
 #define MAXPGPATH 1024
 
 #define INDEX_MAX_KEYS		16
diff --git a/src/interfaces/libpq/win32.h b/src/interfaces/libpq/win32.h
index 98d1a8345c2..c8cddb51dc4 100644
--- a/src/interfaces/libpq/win32.h
+++ b/src/interfaces/libpq/win32.h
@@ -21,9 +21,3 @@
  * crypt not available (yet)
  */
 #define crypt(a,b) a
-
-/*
- * Parts of config.h that you get with autoconf on other systems
- */
-#define MAXIMUM_ALIGNOF 4
-#define ACCEPT_TYPE_ARG3 int
-- 
GitLab