From: Kurt Zeilenga Date: Wed, 2 May 2001 19:48:40 +0000 (+0000) Subject: Don't require int32 X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1459 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=17b52c97fa89388b6435547a9e5fc1de5cd7c746;p=openldap Don't require int32 --- diff --git a/include/ac/bytes.h b/include/ac/bytes.h index 712ed8b929..ea0f52e073 100644 --- a/include/ac/bytes.h +++ b/include/ac/bytes.h @@ -24,7 +24,8 @@ # elif SIZEOF_SHORT == 4 # define AC_INT4_TYPE short # else -# error "AC_INT4_TYPE?" +/* used by SHA-1, but commented out */ +/* # error "AC_INT2_TYPE?" */ # endif #endif diff --git a/include/lutil_sha1.h b/include/lutil_sha1.h index 6f1e410f41..0ba83bb1b5 100644 --- a/include/lutil_sha1.h +++ b/include/lutil_sha1.h @@ -18,8 +18,12 @@ #include #include +#undef AC_INT4_TYPE +#ifdef AC_INT4_TYPE + LDAP_BEGIN_DECL + /* * SHA-1 in C * By Steve Reid @@ -65,4 +69,6 @@ lutil_SHA1Data LDAP_END_DECL +#endif /* AC_INT4_TYPE */ + #endif /* _LUTIL_SHA1_H_ */