mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
Set proper sizes for size_t and void* on 64-bit Windows builds.
Tsutomu Yamada
This commit is contained in:
parent
2de9a463ff
commit
8491998d3d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user