diff src/lib/compat.h @ 5:1b34ec11fff8 HEAD

Message data is parsed in blocks (no longer entirely mmap()ed). Several IOBuffer changes. All mixed signed/unsigned comparisions were fixed so code can now be compiled with gcc's -W flag. mbox support is broken currently, and there's most likely several other problems too.
author Timo Sirainen <tss@iki.fi>
date Thu, 22 Aug 2002 01:10:20 +0300
parents 3b1985cbc908
children 62fc6c729962
line wrap: on
line diff
--- a/src/lib/compat.h	Tue Aug 13 18:30:02 2002 +0300
+++ b/src/lib/compat.h	Thu Aug 22 01:10:20 2002 +0300
@@ -33,6 +33,11 @@
 void my_vsyslog(int priority, const char *format, va_list args);
 #endif
 
+#ifndef HAVE_GETPAGESIZE
+#  define getpagesize my_getpagesize
+int my_getpagesize(void);
+#endif
+
 /* ctype.h isn't safe with signed chars,
    use our own instead if really needed */
 #define i_toupper(x) toupper((int) (unsigned char) (x))