race tests: fix unsupported condition

Should be true if single thread is defined, then its not
supported.
pull/4393/head
Martin Kojtal 2017-05-25 14:47:28 +01:00
parent 4d985eae3a
commit 7aea3bc43e
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
#include "SingletonPtr.h"
#include <stdio.h>
#ifndef MBED_RTOS_SINGLE_THREAD
#ifdef MBED_RTOS_SINGLE_THREAD
#error [NOT_SUPPORTED] test not supported for single threaded enviroment
#endif