From c765b4b052262416a2212ba206d9669f88ca68b9 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Fri, 3 Jul 1998 04:24:16 +0000 Subject: 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 --- src/interfaces/libpq/libpqdll.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/interfaces/libpq/libpqdll.c (limited to 'src/interfaces/libpq/libpqdll.c') diff --git a/src/interfaces/libpq/libpqdll.c b/src/interfaces/libpq/libpqdll.c new file mode 100644 index 0000000000..aa67806657 --- /dev/null +++ b/src/interfaces/libpq/libpqdll.c @@ -0,0 +1,6 @@ +#define WIN32_LEAN_AND_MEAN +#include +BOOL WINAPI DllMain( HINSTANCE hinstDLL, DWORD fdwReason, + LPVOID lpReserved ){ + return (TRUE); +} -- cgit v1.2.1