mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-06 23:04:04 +00:00
Freebsd doesn't do mremap. Use the fake one.
This commit is contained in:
parent
becb08129c
commit
e83612fc0a
1 changed files with 4 additions and 0 deletions
4
rzip.h
4
rzip.h
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue