From ea3112442603fb14003e04ef5d8223be8c721d71 Mon Sep 17 00:00:00 2001 From: hmelder Date: Fri, 25 Oct 2024 21:16:28 +0200 Subject: [PATCH] NSThread: Define GSThreadBlock so that GCC stub impl does not fail --- Headers/Foundation/NSThread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Headers/Foundation/NSThread.h b/Headers/Foundation/NSThread.h index da8c5fedb..5e47601e9 100644 --- a/Headers/Foundation/NSThread.h +++ b/Headers/Foundation/NSThread.h @@ -45,7 +45,7 @@ extern "C" { #if OS_API_VERSION(MAC_OS_X_VERSION_10_12, GS_API_LATEST) #import -DEFINE_BLOCK_TYPE(GSThreadBlock, void, void); +DEFINE_BLOCK_TYPE_NO_ARGS(GSThreadBlock, void); #endif /**