Do not launch the worker macro test if clang isn't compiled with block
This commit is contained in:
1 parent
43f371b32e
commit
4ae6e92631
1 file changed
+1
-1
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user