diff options
| author | Tom Lane | 2012-10-08 01:52:07 +0000 |
|---|---|---|
| committer | Tom Lane | 2012-10-08 01:52:43 +0000 |
| commit | 95d035e66d8e4371d35830d81f39face03cd4c45 (patch) | |
| tree | 450c4e30491bd17f6499e8a33c094f9353238f79 /src/bcc32.mak | |
| parent | ea72bb8ae527d371ccaf53647540a33224df92a6 (diff) | |
Autoconfiscate selection of 64-bit int type for 64-bit large object API.
Get rid of the fundamentally indefensible assumption that "long long int"
exists and is exactly 64 bits wide on every platform Postgres runs on.
Instead let the configure script select the type to use for "pg_int64".
This is a bit of a pain in the rear since we do not want to pollute client
namespace with all the random symbols that pg_config.h defines; instead
we have to create a separate generated header file, "pg_config_ext.h".
But now that the infrastructure is there, we might have the ability to
add some other stuff that's long been wanting in this area.
Diffstat (limited to 'src/bcc32.mak')
| -rw-r--r-- | src/bcc32.mak | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/bcc32.mak b/src/bcc32.mak index 83c26df167..c691924163 100644 --- a/src/bcc32.mak +++ b/src/bcc32.mak @@ -26,6 +26,7 @@ NULL=nul ALL: cd include if not exist pg_config.h copy pg_config.h.win32 pg_config.h + if not exist pg_config_ext.h copy pg_config_ext.h.win32 pg_config_ext.h if not exist pg_config_os.h copy port\win32.h pg_config_os.h cd .. cd interfaces\libpq @@ -42,5 +43,5 @@ CLEAN: DISTCLEAN: CLEAN cd include - del pg_config.h pg_config_os.h + del pg_config.h pg_config_ext.h pg_config_os.h cd .. |
