summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_malloc.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_malloc.c b/tests/test_malloc.c
index 090dca2..dca06da 100644
--- a/tests/test_malloc.c
+++ b/tests/test_malloc.c
@@ -34,7 +34,11 @@
#endif
#ifndef N_REVERSALS
-# define N_REVERSALS 1000 /* must be even */
+# ifdef AO_USE_PTHREAD_DEFS
+# define N_REVERSALS 4
+# else
+# define N_REVERSALS 1000 /* must be even */
+# endif
#endif
#ifndef LIST_LENGTH