diff options
author | Dave Yeo <dave.r.yeo@gmail.com> | 2011-05-09 12:38:44 +0200 |
---|---|---|
committer | Søren Sandmann Pedersen <ssp@redhat.com> | 2011-05-09 12:38:44 +0200 |
commit | 838c2b593ec5ebbbf82de5b7790f5b68fd86bbc1 (patch) | |
tree | d2a09dcda845504baae87cbc12b53139b3444b11 /test | |
parent | c53625a36e28883684c3a6e640aa3656ecca7615 (diff) |
Check for working mmap()
OS/2 doesn't have a working mmap().
Diffstat (limited to 'test')
-rw-r--r-- | test/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/utils.c b/test/utils.c index 56701c4..4025602 100644 --- a/test/utils.c +++ b/test/utils.c @@ -229,7 +229,7 @@ typedef struct int n_bytes; } info_t; -#if defined(HAVE_MPROTECT) && defined(HAVE_GETPAGESIZE) && defined(HAVE_SYS_MMAN_H) +#if defined(HAVE_MPROTECT) && defined(HAVE_GETPAGESIZE) && defined(HAVE_SYS_MMAN_H) && defined(HAVE_MMAP) /* This is apparently necessary on at least OS X */ #ifndef MAP_ANONYMOUS |