From 2d2ae8b509e5a2a0870698f40109e5a74687ab5f Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 30 Dec 2017 12:20:20 +0100 Subject: [PATCH] Fix wrong name of constants for CLANG --- tests/test-mworker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-mworker.c b/tests/test-mworker.c index 4511a715..1c8ee675 100644 --- a/tests/test-mworker.c +++ b/tests/test-mworker.c @@ -66,7 +66,7 @@ static void test1(void) assert (resetFunc_called == true); } -#if defined(__GNUC__) && (!defined(__clang__) || WORKER_CLANG_BLOCK || WORKER_CPP_FUNCTION) +#if defined(__GNUC__) && (!defined(__clang__) || WORKER_USE_CLANG_BLOCK || WORKER_USE_CPP_FUNCTION) /* The macro version will generate warnings about shadow variables. There is no way to avoid this. */