Mercurial > dovecot > original-hg > dovecot-1.2
diff src/lib/compat.h @ 56:62fc6c729962 HEAD
64bit off_t fixes
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 28 Aug 2002 02:39:53 +0300 |
parents | 1b34ec11fff8 |
children | 0ffecd4e7e1a |
line wrap: on
line diff
--- a/src/lib/compat.h Wed Aug 28 02:27:56 2002 +0300 +++ b/src/lib/compat.h Wed Aug 28 02:39:53 2002 +0300 @@ -1,6 +1,12 @@ #ifndef __COMPAT_H #define __COMPAT_H +/* well, this is obviously wrong since it assumes it's 64bit, but older + GCCs don't define it and we really want it. */ +#ifndef LLONG_MAX +# define LLONG_MAX 9223372036854775807LL +#endif + /* memmove() */ #ifndef HAVE_MEMMOVE # define memmove my_memmove