Update git-svn manpage to remove the implication that SVN::* is optional.
[gitweb.git] / git-compat-util.h
index 55456da37cdd25126b7bccae879ca500176220f9..f8d46d587bec2b4dbab0263fa3df97e60beb08e4 100644 (file)
@@ -105,9 +105,12 @@ extern int git_munmap(void *start, size_t length);
 #endif /* NO_MMAP */
 
 #define DEFAULT_PACKED_GIT_LIMIT \
-       (sizeof(void*) >= 8 \
-               ?   8 * 1024 * 1024 * 1024 \
-               : 256 * 1024 * 1024)
+       ((1024L * 1024L) * (sizeof(void*) >= 8 ? 8192 : 256))
+
+#ifdef NO_PREAD
+#define pread git_pread
+extern ssize_t git_pread(int fd, void *buf, size_t count, off_t offset);
+#endif
 
 #ifdef NO_SETENV
 #define setenv gitsetenv