diff --git a/test/test_semaphore.cpp b/test/test_semaphore.cpp index 1f718a5a..10ef781f 100644 --- a/test/test_semaphore.cpp +++ b/test/test_semaphore.cpp @@ -35,6 +35,8 @@ SOFTWARE. using namespace test::clocks; +#if ETL_USING_ATOMIC + namespace { SUITE(test_semaphore) @@ -187,3 +189,5 @@ namespace } } } // namespace + +#endif