diff --git a/include/ac/bytes.h b/include/ac/bytes.h index 160f0bbc8e..27dab6b7b2 100644 --- a/include/ac/bytes.h +++ b/include/ac/bytes.h @@ -21,6 +21,8 @@ # define AC_INT4_TYPE long # elif SIZEOF_INT == 4 # define AC_INT4_TYPE int +# elif SIZEOF_SHORT == 4 +# define AC_INT4_TYPE short # else # error "AC_INT4_TYPE?" # endif @@ -29,6 +31,8 @@ # define AC_INT2_TYPE short # elif SIZEOF_INT == 2 # define AC_INT2_TYPE int +# elif SIZEOF_LONG == 2 +# define AC_INT2_TYPE long # else # error "AC_INT2_TYPE?" # endif