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-riscos.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/config-riscos.h') diff --git a/lib/config-riscos.h b/lib/config-riscos.h index a5b6850f5..98bb7880f 100644 --- a/lib/config-riscos.h +++ b/lib/config-riscos.h @@ -338,12 +338,18 @@ /* Define as the return type of signal handlers (`int' or `void'). */ #define RETSIGTYPE void -/* The size of a `long double', as computed by sizeof. */ +/* The size of `int', as computed by sizeof. */ +#define SIZEOF_INT 4 + +/* The size of `long double', as computed by sizeof. */ #undef SIZEOF_LONG_DOUBLE -/* The size of a `long long', as computed by sizeof. */ +/* The size of `long long', as computed by sizeof. */ #undef SIZEOF_LONG_LONG +/* The size of `short', as computed by sizeof. */ +#define SIZEOF_SHORT 2 + /* Define if you have the ANSI C header files. */ #undef STDC_HEADERS -- cgit v1.2.3