diff --git a/TESTS/mbed_drivers/race_test/main.cpp b/TESTS/mbed_drivers/race_test/main.cpp index df8a47e0d1..c0a89ff8c5 100644 --- a/TESTS/mbed_drivers/race_test/main.cpp +++ b/TESTS/mbed_drivers/race_test/main.cpp @@ -22,7 +22,7 @@ #include "SingletonPtr.h" #include -#ifndef MBED_RTOS_SINGLE_THREAD +#ifdef MBED_RTOS_SINGLE_THREAD #error [NOT_SUPPORTED] test not supported for single threaded enviroment #endif