From 17b52c97fa89388b6435547a9e5fc1de5cd7c746 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 2 May 2001 19:48:40 +0000 Subject: [PATCH] Don't require int32 --- include/ac/bytes.h | 3 ++- include/lutil_sha1.h | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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_ */ -- 2.39.5