diff options
author | Yang Tse <yangsita@gmail.com> | 2010-12-02 21:41:23 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-12-02 21:41:23 +0100 |
commit | 99a07a1fdf2a4e0ee37e8c324fcb6d52222ebaff (patch) | |
tree | c12dd4ed7fb334291a6ca2d37b0b76fff8e120b1 /lib/config-win32ce.h | |
parent | 81c16c2e30deac6d39e2897b1d2a3623971b126d (diff) | |
download | curl-99a07a1fdf2a4e0ee37e8c324fcb6d52222ebaff.tar.gz |
build: provide SIZEOF_SIZE_T definition for non-configure builds
Diffstat (limited to 'lib/config-win32ce.h')
-rw-r--r-- | lib/config-win32ce.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h index 1f417825e..3a5913e99 100644 --- a/lib/config-win32ce.h +++ b/lib/config-win32ce.h @@ -322,6 +322,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 */ /* ---------------------------------------------------------------- */ |