Do not launch the worker macro test if clang isn't compiled with block

This commit is contained in:
Patrick Pelissier committed 2017-12-16 18:36:27 +01:00
1 parent 43f371b32e
commit 4ae6e92631
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ static void test1(void)
worker_clear(w_g);
}
#if defined(__GNUC__)
#if defined(__GNUC__) && (!defined(__clang__) || WORKER_CLANG_BLOCK)
/* The macro version will generate warnings about shadow variables.
There is no way to avoid this. */