Skip to content

Commit

Permalink
NSThread: Define GSThreadBlock so that GCC stub impl does not fail
Browse files Browse the repository at this point in the history
  • Loading branch information
hmelder committed Oct 25, 2024
1 parent 27b5946 commit ea31124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Headers/Foundation/NSThread.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ extern "C" {

#if OS_API_VERSION(MAC_OS_X_VERSION_10_12, GS_API_LATEST)
#import <GNUstepBase/GSBlocks.h>
DEFINE_BLOCK_TYPE(GSThreadBlock, void, void);
DEFINE_BLOCK_TYPE_NO_ARGS(GSThreadBlock, void);
#endif

/**
Expand Down

0 comments on commit ea31124

Please sign in to comment.