--- defines.h.orig Mon Feb 4 12:32:52 2002 +++ defines.h Mon Feb 4 13:04:07 2002 @@ -161,7 +161,11 @@ typedef short int int16_t; # else # ifdef _CRAY +# if (SIZEOF_SHORT_INT == 4) +typedef short int16_t; +# else typedef long int16_t; +# endif # else # error "16 bit int type not found." # endif /* _CRAY */ @@ -194,7 +198,11 @@ typedef unsigned short int u_int16_t; # else # ifdef _CRAY +# if (SIZEOF_SHORT_INT == 4) +typedef unsigned short u_int16_t; +# else typedef unsigned long u_int16_t; +# endif # else # error "16 bit int type not found." # endif
I've addressed this bug (and several others) in modifications i'm in the process of testing now. If all my machines build OK I'll commit in the morning.
Patch added 26 Feb 2002
Mass change of RESOLVED bugs to CLOSED