diff options
Diffstat (limited to 'lib/config-win32.h')
-rw-r--r-- | lib/config-win32.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h index 5ee76065d..67bfec3c0 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -345,6 +345,13 @@ /* The size of `short', as computed by sizeof. */ #define SIZEOF_SHORT 2 +/* The size of `size_t', as computed by sizeof. */ +#if defined(_WIN64) +# define SIZEOF_SIZE_T 8 +#else +# define SIZEOF_SIZE_T 4 +#endif + /* ---------------------------------------------------------------- */ /* STRUCT RELATED */ /* ---------------------------------------------------------------- */ |