summaryrefslogtreecommitdiffstats
path: root/test/src
diff options
context:
space:
mode:
authorMike Hommey <mh@glandium.org>2014-05-21 07:59:50 (GMT)
committerJason Evans <je@fb.com>2014-05-27 22:05:05 (GMT)
commit47d58a01ff9d894f854412f3f6d3ba97a7aa2929 (patch)
tree108cef9f12cc89d59c4e25555f5b85314ab168da /test/src
parented0b0ec935a6df9ef429e56a08c0c9b63c3ba358 (diff)
downloadjemalloc-47d58a01ff9d894f854412f3f6d3ba97a7aa2929.zip
jemalloc-47d58a01ff9d894f854412f3f6d3ba97a7aa2929.tar.gz
jemalloc-47d58a01ff9d894f854412f3f6d3ba97a7aa2929.tar.bz2
Define _CRT_SPINCOUNT in test/src/mtx.c like in src/mutex.c
Diffstat (limited to 'test/src')
-rw-r--r--test/src/mtx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/src/mtx.c b/test/src/mtx.c
index 41b95d5..73bd02f 100644
--- a/test/src/mtx.c
+++ b/test/src/mtx.c
@@ -1,5 +1,9 @@
#include "test/jemalloc_test.h"
+#ifndef _CRT_SPINCOUNT
+#define _CRT_SPINCOUNT 4000
+#endif
+
bool
mtx_init(mtx_t *mtx)
{