From: Kurt Zeilenga Date: Sat, 30 Oct 1999 02:53:24 +0000 (+0000) Subject: Add support for sizeof(short) == 4 when sizeof(int) > 4. X-Git-Tag: UCDATA_2_4~276 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=771a52499f771ae40c1428ccde8395c65f7e0107;p=openldap Add support for sizeof(short) == 4 when sizeof(int) > 4. --- 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