From cef95aadebf0be4be6b4ed82e07f38cc83faf546 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 26 Feb 2010 18:32:46 +0000 Subject: Added SIZEOF_INT and SIZEOF_SHORT definitions for non-configure systems --- lib/config-win32.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/config-win32.h') diff --git a/lib/config-win32.h b/lib/config-win32.h index bc2dedf54..43997faf1 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -333,12 +333,18 @@ /* TYPE SIZES */ /* ---------------------------------------------------------------- */ -/* The number of bytes in a long double. */ +/* The size of `int', as computed by sizeof. */ +#define SIZEOF_INT 4 + +/* The size of `long double', as computed by sizeof. */ #define SIZEOF_LONG_DOUBLE 16 -/* The number of bytes in a long long. */ +/* The size of `long long', as computed by sizeof. */ /* #define SIZEOF_LONG_LONG 8 */ +/* The size of `short', as computed by sizeof. */ +#define SIZEOF_SHORT 2 + /* ---------------------------------------------------------------- */ /* STRUCT RELATED */ /* ---------------------------------------------------------------- */ -- cgit v1.2.3