Permalink
Browse files

Mremap is linux only, so reverse the check for its presence and use f…

…ake mremap everywhere else.
  • Loading branch information...
1 parent f496e07 commit a28def8d05eaa41455abb28092843de6bab736f9 @ckolivas committed Sep 21, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 lrzip_private.h
View
@@ -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

0 comments on commit a28def8

Please sign in to comment.