diff options
Diffstat (limited to 'test/mmap/mmap64.c')
-rw-r--r-- | test/mmap/mmap64.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/mmap/mmap64.c b/test/mmap/mmap64.c index 066d03c24..7886ccd29 100644 --- a/test/mmap/mmap64.c +++ b/test/mmap/mmap64.c @@ -10,6 +10,7 @@ int main(int argc, char **argv) { +#ifdef __NR_mmap64 void *ptr; ptr = mmap64(NULL, 4096, PROT_READ|PROT_WRITE, @@ -21,4 +22,7 @@ int main(int argc, char **argv) } printf("mmap returned %p\n", ptr); exit(0); +#else + exit(0); +#endif } |