Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib/compat.h @ 903:fd8888f6f037 HEAD
Naming style changes, finally got tired of most of the typedefs. Also the
previous enum -> macro change reverted so that we don't use the highest bit
anymore, that's incompatible with old indexes so they will be rebuilt.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 05 Jan 2003 15:09:51 +0200 |
parents | 5ac361acb316 |
children | bc55266563cd |
line wrap: on
line diff
--- a/src/lib/compat.h Sun Jan 05 11:23:13 2003 +0200 +++ b/src/lib/compat.h Sun Jan 05 15:09:51 2003 +0200 @@ -23,6 +23,12 @@ # else typedef unsigned long uintmax_t; # endif + +# if SIZEOF_INT >= 4 +typedef unsigned int uint_fast32_t; +# else +typedef unsigned long uint_fast32_t; +# endif #endif #ifndef HAVE_SOCKLEN_T