mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
Add support for sizeof(short) == 4 when sizeof(int) > 4.
This commit is contained in:
parent
c508288fca
commit
771a52499f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user