Commit 8491998d authored by Magnus Hagander's avatar Magnus Hagander

Set proper sizes for size_t and void* on 64-bit Windows builds.

Tsutomu Yamada
parent 2de9a463
...@@ -589,10 +589,18 @@ ...@@ -589,10 +589,18 @@
#define SIZEOF_LONG 4 #define SIZEOF_LONG 4
/* The size of `size_t', as computed by sizeof. */ /* The size of `size_t', as computed by sizeof. */
#ifndef _WIN64
#define SIZEOF_SIZE_T 4 #define SIZEOF_SIZE_T 4
#else
#define SIZEOF_SIZE_T 8
#endif
/* The size of `void *', as computed by sizeof. */ /* The size of `void *', as computed by sizeof. */
#ifndef _WIN64
#define SIZEOF_VOID_P 4 #define SIZEOF_VOID_P 4
#else
#define SIZEOF_VOID_P 8
#endif
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1 #define STDC_HEADERS 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment