summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-12-14 15:05:45 +0000
committerBruce Momjian <bruce@momjian.us>1998-12-14 15:05:45 +0000
commit363edf0282f7d638dcb072dd4e6689c43fad17ed (patch)
tree04315cf3c2442c724752d6b9cc73b30b3aff0a54
parent96ac4e6be4c1c7ba9998b627cf361e9a49c3fa02 (diff)
downloadpostgresql-363edf0282f7d638dcb072dd4e6689c43fad17ed.tar.gz
Compilation of libpq for Win32 breaks on 6.4, because of a change that I
missed before the release. It's simply a symbol that is undefined. This patch defines this symbol in "win32.h", so it should have no effect on any other platforms. It should go into 6.4.1 if possible, since compilation is completely broken without it. I am also attaching a patch for the "win32.mak" file - it leaves a file behind when doing "make clean" after the library is built on Visual C++ 6.0. This is not at all as urgent, but I don't see it breaking here, so I think it might as well go in there too? //Magnus
-rw-r--r--src/interfaces/libpq/win32.h2
-rw-r--r--src/interfaces/libpq/win32.mak2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/win32.h b/src/interfaces/libpq/win32.h
index b2a5e3db74..2565700c92 100644
--- a/src/interfaces/libpq/win32.h
+++ b/src/interfaces/libpq/win32.h
@@ -8,7 +8,7 @@
#define NO_UNISTD_H
-
+#define SOCKET_SIZE_TYPE int
/*
* Some compat functions
diff --git a/src/interfaces/libpq/win32.mak b/src/interfaces/libpq/win32.mak
index 7260f977ab..60c70a9a00 100644
--- a/src/interfaces/libpq/win32.mak
+++ b/src/interfaces/libpq/win32.mak
@@ -33,7 +33,7 @@ CLEAN :
-@erase "$(OUTDIR)\libpq.lib"
-@erase "$(OUTDIR)\libpq.dll"
-@erase "$(OUTDIR)\libpq.res"
- -@erase "vc50.pch"
+ -@erase "*.pch"
-@erase "$(OUTDIR)\libpq.pch"
-@erase "$(OUTDIR)\libpqdll.exp"
-@erase "$(OUTDIR)\libpqdll.lib"