Add support for sizeof(short) == 4 when sizeof(int) > 4.

This commit is contained in:
Kurt Zeilenga 1999-10-30 02:53:24 +00:00
parent c508288fca
commit 771a52499f

View File

@ -21,6 +21,8 @@
# define AC_INT4_TYPE long # define AC_INT4_TYPE long
# elif SIZEOF_INT == 4 # elif SIZEOF_INT == 4
# define AC_INT4_TYPE int # define AC_INT4_TYPE int
# elif SIZEOF_SHORT == 4
# define AC_INT4_TYPE short
# else # else
# error "AC_INT4_TYPE?" # error "AC_INT4_TYPE?"
# endif # endif
@ -29,6 +31,8 @@
# define AC_INT2_TYPE short # define AC_INT2_TYPE short
# elif SIZEOF_INT == 2 # elif SIZEOF_INT == 2
# define AC_INT2_TYPE int # define AC_INT2_TYPE int
# elif SIZEOF_LONG == 2
# define AC_INT2_TYPE long
# else # else
# error "AC_INT2_TYPE?" # error "AC_INT2_TYPE?"
# endif # endif