File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ commit a6f07549b8ea67e107a9a2fb3edadc7412311188 (HEAD -> blocks-rt)
2+ Author: Hugo Melder <service@hugomelder.com>
3+ Date: Mon Oct 20 13:38:44 2025 +0200
4+
5+ Use standard blocks runtime header
6+
7+ diff --git a/Headers/GNUstepBase/GSBlocks.h b/Headers/GNUstepBase/GSBlocks.h
8+ index 758b21130..bf745cb26 100644
9+ --- a/Headers/GNUstepBase/GSBlocks.h
10+ +++ b/Headers/GNUstepBase/GSBlocks.h
11+ @@ -112,8 +112,8 @@ typedef retTy(^name)()
12+ #define CALL_BLOCK_NO_ARGS(block) ({if (NULL != block) CALL_NON_NULL_BLOCK_NO_ARGS(block);})
13+ #define CALL_BLOCK_RET_NO_ARGS(block, rettype) ((NULL != block) ? (rettype)CALL_NON_NULL_BLOCK_NO_ARGS(block) : (rettype)0)
14+
15+ - #if __has_include(<objc/blocks_runtime.h>)
16+ - # include <objc/blocks_runtime.h>
17+ + #if __has_include(<Block.h>)
18+ + # include <Block.h>
19+ #else
20+
21+ #ifdef __cplusplus
22+
You can’t perform that action at this time.
0 commit comments