]> git.sur5r.net Git - openldap/commitdiff
ucdata presently uses sized types. sized types use should be avoided
authorKurt Zeilenga <kurt@openldap.org>
Tue, 23 Jul 2002 18:29:48 +0000 (18:29 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 23 Jul 2002 18:29:48 +0000 (18:29 +0000)
as they are not be available on all platforms.

include/ac/bytes.h

index 81b97d42009bb3158a0fdd221aa69b62861df6a6..609267997f3c62183feea53e7d9df11f7020e8dd 100644 (file)
@@ -25,8 +25,7 @@
 #      elif SIZEOF_SHORT == 4
 #              define AC_INT4_TYPE short
 #      else
-/* used by SHA-1, but commented out */
-/* #   error "AC_INT2_TYPE?" */
+#      error "AC_INT4_TYPE?"
 #      endif
 #endif
 
@@ -42,8 +41,7 @@ typedef unsigned AC_INT4_TYPE ac_uint4;
 #      elif SIZEOF_LONG == 2
 #              define AC_INT2_TYPE long
 #      else
-/* not used, no error */
-/* #   error "AC_INT2_TYPE?" */
+#      error "AC_INT2_TYPE?"
 #      endif
 #endif