Skip to content
Snippets Groups Projects
Commit 771a5249 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

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

parent c508288f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment