From 99a07a1fdf2a4e0ee37e8c324fcb6d52222ebaff Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Thu, 2 Dec 2010 21:41:23 +0100 Subject: build: provide SIZEOF_SIZE_T definition for non-configure builds --- lib/config-win32ce.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/config-win32ce.h') 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 */ /* ---------------------------------------------------------------- */ -- cgit v1.2.1