aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/psql/command.c4
-rw-r--r--src/include/config.h.win328
2 files changed, 8 insertions, 4 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 0199ea95d17..f4054dff027 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.43 2000/12/30 14:47:06 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.44 2001/01/24 03:42:37 momjian Exp $
*/
#include "postgres.h"
#include "command.h"
@@ -18,6 +18,8 @@
#include <unistd.h> /* for geteuid(), getpid(), stat() */
#else
#include <win32.h>
+#include <io.h>
+#include <fnctl.h>
#endif
#include "libpq-fe.h"
diff --git a/src/include/config.h.win32 b/src/include/config.h.win32
index 4f0afb87e3e..aae6444dd97 100644
--- a/src/include/config.h.win32
+++ b/src/include/config.h.win32
@@ -3,10 +3,12 @@
*/
-/* Since we don't do autoconf, we need to read the .in file. Ugly */
-#include "version.h.in"
+#define PG_VERSION 7.1
+#define PG_VERSION_STR "7.1 (win32)"
-#define DEF_PGPORT "5432"
+#define SYSCONFDIR ""
+
+#define DEF_PGPORT_STR "5432"
#define MAXIMUM_ALIGNOF 4
#define MAXPGPATH 1024