]> git.sur5r.net Git - openldap/commitdiff
Don't require int32
authorKurt Zeilenga <kurt@openldap.org>
Wed, 2 May 2001 19:48:40 +0000 (19:48 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 2 May 2001 19:48:40 +0000 (19:48 +0000)
include/ac/bytes.h
include/lutil_sha1.h

index 712ed8b9297271e988e5d0524379db560fd6a450..ea0f52e07327029379a21204ddb54b40dd855b1b 100644 (file)
@@ -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
 
index 6f1e410f416473f89efc347a9562bc7da93bc9c8..0ba83bb1b5e6ad5648ef19dc51160c0c85defe06 100644 (file)
 #include <ldap_cdefs.h>
 #include <ac/bytes.h>
 
+#undef AC_INT4_TYPE
+#ifdef AC_INT4_TYPE
+
 LDAP_BEGIN_DECL
 
+
 /*
  * SHA-1 in C
  * By Steve Reid <steve@edmweb.com>
@@ -65,4 +69,6 @@ lutil_SHA1Data
 
 LDAP_END_DECL
 
+#endif /* AC_INT4_TYPE */
+
 #endif /* _LUTIL_SHA1_H_ */