From 0e5a31d7be80d1dd1bcdff04dad226f0f49e0cce Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 13 May 1998 17:53:36 +0000 Subject: can create v4 signatures --- include/types.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include/types.h') diff --git a/include/types.h b/include/types.h index 41adbbbd8..543cbad62 100644 --- a/include/types.h +++ b/include/types.h @@ -21,6 +21,23 @@ #ifndef G10_TYPES_H #define G10_TYPES_H + +/* The AC_CHECK_SIZEOF() in configure fails for some machines. + * we provide some fallback values here */ +#if !SIZEOF_UNSIGNED_SHORT + #undef SIZEOF_UNSIGNED_SHORT + #define SIZEOF_UNSIGNED_SHORT 2 +#endif +#if !SIZEOF_UNSIGNED_INT + #undef SIZEOF_UNSIGNED_INT + #define SIZEOF_UNSIGNED_INT 4 +#endif +#if !SIZEOF_UNSIGNED_LONG + #undef SIZEOF_UNSIGNED_LONG + #define SIZEOF_UNSIGNED_LONG 4 +#endif + + #include -- cgit