diff options
Diffstat (limited to 'config-win32.h')
-rw-r--r-- | config-win32.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/config-win32.h b/config-win32.h index af9a6a8..898ba90 100644 --- a/config-win32.h +++ b/config-win32.h @@ -227,6 +227,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 */ /* ---------------------------------------------------------------- */ |