Freebsd doesn't do mremap. Use the fake one.

This commit is contained in:
Con Kolivas 2010-12-16 09:42:34 +11:00
parent becb08129c
commit e83612fc0a

4
rzip.h
View file

@ -192,6 +192,10 @@ static inline i64 get_ram(void)
}
#endif
#ifdef __FreeBSD__
#define mremap fake_mremap
#endif
#define FLAG_SHOW_PROGRESS 2
#define FLAG_KEEP_FILES 4
#define FLAG_TEST_ONLY 8