Skip to content

Commit

Permalink
blind fix for OSX build
Browse files Browse the repository at this point in the history
  • Loading branch information
Ash-L2L committed Aug 8, 2023
1 parent 0f6fb64 commit 0b89622
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/qt/macdockiconhandler.mm
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ bool dockClickHandler(id self,SEL _cmd,...) {
return false;
}

union {
id (*typed_msgSend)(id, SEL);
void *ptr;
} union_msgSend;
union_msgSend.ptr = (void *)objc_msgSend;

union {
Class (*typed_msgSendToGetClass)(id, SEL);
void *ptr;
} union_msgSendToGetClass;
union_msgSendToGetClass.ptr = (void *)objc_msgSend;

void setupDockClickHandler() {
union {
id (*typed_msgSend)(id, SEL);
Expand Down

0 comments on commit 0b89622

Please sign in to comment.