aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-exec.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1998-07-03 04:24:16 +0000
committerBruce Momjian <bruce@momjian.us>1998-07-03 04:24:16 +0000
commitc765b4b052262416a2212ba206d9669f88ca68b9 (patch)
tree63ef0bf26933568d64dc6fe5c957d09c7dd2b0d8 /src/interfaces/libpq/fe-exec.c
parentd5283ccd3efce2abb66ad26d7f2ab2a5f81d5608 (diff)
downloadpostgresql-c765b4b052262416a2212ba206d9669f88ca68b9.tar.gz
postgresql-c765b4b052262416a2212ba206d9669f88ca68b9.zip
Hello!
Through some minor changes, I have been able to compile the libpq client libraries on the Win32 platform. Since the libpq communications part has been rewritten, this has become much easier. Enclosed is a patch that will allow at least Microsoft Visual C++ to compile libpq into both a static and a dynamic library. I will take a look at porting the psql frontend as well, but I figured it was a good idea to send in these patches first - so no major changes are done to the files before it gets applied (if it does). Regards, Magnus Hagander
Diffstat (limited to 'src/interfaces/libpq/fe-exec.c')
-rw-r--r--src/interfaces/libpq/fe-exec.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c
index 506edc8b1a3..49bd6d07e51 100644
--- a/src/interfaces/libpq/fe-exec.c
+++ b/src/interfaces/libpq/fe-exec.c
@@ -7,10 +7,13 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.54 1998/06/16 07:29:48 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.55 1998/07/03 04:24:13 momjian Exp $
*
*-------------------------------------------------------------------------
*/
+#ifdef WIN32
+#include "win32.h"
+#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>