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,8 +90,8 @@ typedef uint32_t u32;
|
|||
typedef struct rzip_control rzip_control;
|
||||
typedef struct md5_ctx md5_ctx;
|
||||
|
||||
#ifndef mremap
|
||||
# define mremap fake_mremap
|
||||
#if defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__APPLE__)
|
||||
#define mremap fake_mremap
|
||||
#endif
|
||||
|
||||
#define bswap_32(x) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue