mirror of
https://github.com/ckolivas/lrzip.git
synced 2025-12-06 07:12:00 +01:00
mremap is not a macro, check explicitly for freebsd and apple and define it only then.
This commit is contained in:
parent
915edb78a2
commit
e561a9a080
|
|
@ -90,7 +90,7 @@ typedef uint32_t u32;
|
||||||
typedef struct rzip_control rzip_control;
|
typedef struct rzip_control rzip_control;
|
||||||
typedef struct md5_ctx md5_ctx;
|
typedef struct md5_ctx md5_ctx;
|
||||||
|
|
||||||
#ifndef mremap
|
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
|
||||||
#define mremap fake_mremap
|
#define mremap fake_mremap
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue