Mremap is linux only, so reverse the check for its presence and use fake mremap everywhere else.

This commit is contained in:
Con Kolivas 2011-09-21 16:38:00 +10:00
parent f496e0705d
commit a28def8d05

View file

@ -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