diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-07-03 04:24:16 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-07-03 04:24:16 +0000 |
commit | c765b4b052262416a2212ba206d9669f88ca68b9 (patch) | |
tree | 63ef0bf26933568d64dc6fe5c957d09c7dd2b0d8 /src/include/postgres.h | |
parent | d5283ccd3efce2abb66ad26d7f2ab2a5f81d5608 (diff) | |
download | postgresql-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/include/postgres.h')
-rw-r--r-- | src/include/postgres.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/postgres.h b/src/include/postgres.h index 82806f0f313..f6cbc47c55e 100644 --- a/src/include/postgres.h +++ b/src/include/postgres.h @@ -6,7 +6,7 @@ * * Copyright (c) 1995, Regents of the University of California * - * $Id: postgres.h,v 1.16 1998/04/26 04:08:18 momjian Exp $ + * $Id: postgres.h,v 1.17 1998/07/03 04:24:10 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -37,7 +37,9 @@ #define POSTGRES_H #include "postgres_ext.h" +#ifndef WIN32 #include "config.h" +#endif #include "c.h" #include "utils/elog.h" #include "utils/palloc.h" |