From 771a52499f771ae40c1428ccde8395c65f7e0107 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 30 Oct 1999 02:53:24 +0000 Subject: [PATCH] Add support for sizeof(short) == 4 when sizeof(int) > 4. --- include/ac/bytes.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.39.5