summaryrefslogtreecommitdiff
path: root/tests/count1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/count1.c')
-rw-r--r--tests/count1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/count1.c b/tests/count1.c
index 9783fcc..e88a955 100644
--- a/tests/count1.c
+++ b/tests/count1.c
@@ -7,7 +7,11 @@
#include "test.h"
+#if ! defined (__MINGW32__) || defined (__MSVCRT__)
#define NUMTHREADS (60)
+#else
+#define NUMTHREADS (59)
+#endif
static pthread_mutex_t lock = PTHREAD_MUTEX_INITIALIZER;
static pthread_t threads[NUMTHREADS];