mirror of
https://github.com/ckolivas/lrzip.git
synced 2026-04-05 22:35:40 +00:00
Mremap is linux only, so reverse the check for its presence and use fake mremap everywhere else.
This commit is contained in:
parent
f496e0705d
commit
a28def8d05
1 changed files with 1 additions and 2 deletions
|
|
@ -90,8 +90,7 @@ typedef uint32_t u32;
|
|||
typedef struct rzip_control rzip_control;
|
||||
typedef struct md5_ctx md5_ctx;
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || \
|
||||
defined(__APPLE__) || defined(__CYGWIN__)
|
||||
#if !defined(__linux)
|
||||
#define mremap fake_mremap
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue