aboutsummaryrefslogtreecommitdiffstats
path: root/test/testmtx.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testmtx.c')
-rw-r--r--test/testmtx.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/testmtx.c b/test/testmtx.c
index 526a64ffa..2243b375f 100644
--- a/test/testmtx.c
+++ b/test/testmtx.c
@@ -21,6 +21,8 @@
#include "test.h"
+#ifdef CH_USE_MUTEXES
+
#define ALLOWED_DELAY 5
static Mutex m1, m2;
@@ -219,3 +221,5 @@ const struct testcase testmtx3 = {
mtx3_teardown,
mtx3_execute
};
+
+#endif /* CH_USE_MUTEXES */