From 17a10bf5d838a2f620a673a1b97238a58a06983f Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:51:15 +0000 Subject: Md5 support Author: jgg Date: 1998-10-31 05:19:59 GMT Md5 support --- buildlib/config.h.in | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'buildlib') diff --git a/buildlib/config.h.in b/buildlib/config.h.in index ad6695d8c..d30ca90e7 100644 --- a/buildlib/config.h.in +++ b/buildlib/config.h.in @@ -33,3 +33,38 @@ /* The package name string */ #undef PACKAGE + +/* Generate the fixed bit size types */ +#if SIZEOF_INT == 4 +# define INT32 int +# define UINT32 unsigned int +#else +# if SIZEOF_LONG == 4 +# define INT32 long +# define UINT32 unsigned long +# else +# if SIZEOF_SHORT == 4 +# define INT32 short +# define UINT32 unsigned short +# else +# error Must have a form of 32-bit integer +# endif +# endif +#endif + +#if SIZEOF_INT == 2 +# define INT16 int +# define UINT16 unsigned int +#else +# if SIZEOF_LONG == 2 +# define INT16 long +# define UINT16 unsigned long +# else +# if SIZEOF_SHORT == 2 +# define INT16 short +# define UINT16 short +# else +# error Must have a form of 16-bit integer +# endif +# endif +#endif -- cgit v1.2.3