aboutsummaryrefslogtreecommitdiffstats
path: root/libtest/mmap.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libtest/mmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtest/mmap.c b/libtest/mmap.c
index c3b3067..3bd3cb3 100644
--- a/libtest/mmap.c
+++ b/libtest/mmap.c
@@ -8,7 +8,7 @@
#ifdef SYS_mmap2
-# define IF_MMAP2(A) (A)
+# define IF_MMAP2(A) do { A; } while (0)
#else
# define IF_MMAP2(A) ((void)0)
#endif