diff options
author | Magnus Hagander <magnus@hagander.net> | 2010-01-02 13:56:37 +0000 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2010-01-02 13:56:37 +0000 |
commit | 8491998d3d31ff24875eae514aa83c6b8b3079a3 (patch) | |
tree | 8362cea4149a4b3ade923079c6ac563386fe72b4 /src | |
parent | 2de9a463ff076caefd19e16c123e9f60491d1180 (diff) | |
download | postgresql-8491998d3d31ff24875eae514aa83c6b8b3079a3.tar.gz postgresql-8491998d3d31ff24875eae514aa83c6b8b3079a3.zip |
Set proper sizes for size_t and void* on 64-bit Windows builds.
Tsutomu Yamada
Diffstat (limited to 'src')
-rw-r--r-- | src/include/pg_config.h.win32 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/include/pg_config.h.win32 b/src/include/pg_config.h.win32 index 573a53edb86..76f37310209 100644 --- a/src/include/pg_config.h.win32 +++ b/src/include/pg_config.h.win32 @@ -589,10 +589,18 @@ #define SIZEOF_LONG 4 /* The size of `size_t', as computed by sizeof. */ +#ifndef _WIN64 #define SIZEOF_SIZE_T 4 +#else +#define SIZEOF_SIZE_T 8 +#endif /* The size of `void *', as computed by sizeof. */ +#ifndef _WIN64 #define SIZEOF_VOID_P 4 +#else +#define SIZEOF_VOID_P 8 +#endif /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 |