diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-06-07 14:29:20 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-06-07 14:29:20 +0000 |
commit | 8864ee0b6b45d52d85f67e3e027e119e2700c3f4 (patch) | |
tree | b309eb88185b3b8fa778416671b6f562b3c0642f /src/interfaces/libpq/win32.h | |
parent | bad3b3068d97c8acf68958176fa017d5033fe773 (diff) | |
download | postgresql-8864ee0b6b45d52d85f67e3e027e119e2700c3f4.tar.gz |
> Here is a small patch that should only affect win32 building
> (native win32, not cygnus).
> It does the following:
> Patches two win32.mak files to DEFINE HAVE_VSNPRINTF and
> HAVE_STRDUP. This is required to build at all.
> Bumps the version number on libpq.dll from 6.4 to 6.5.
> Required for install programs to work.
> Adds defintions for BLCKSZ and MAXIMUM_ALIGN to "win32.h" in
> the client-side libpiq directory.
>
> All these files are only used when building on native win32,
> so it should be safe I think.
>
> Again, really sorry to throw this in so late, but I would
> hate to do the same thing as with 6.4 (which required 6.4.1
> to at all compile on Win32).
>
> Thanks,
>
> //Magnus
Diffstat (limited to 'src/interfaces/libpq/win32.h')
-rw-r--r-- | src/interfaces/libpq/win32.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/win32.h b/src/interfaces/libpq/win32.h index 2565700c92..d3e9b34815 100644 --- a/src/interfaces/libpq/win32.h +++ b/src/interfaces/libpq/win32.h @@ -29,7 +29,7 @@ * Parts of config.h that you get with autoconf on other systems */ -/* - * Default port to connect to - */ #define DEF_PGPORT "5432" +#define BLCKSZ 8192 +#define MAXIMUM_ALIGNOF 4 + |