Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compatible with new Obj-C runtime #14

Open
wormyrocks opened this issue Apr 1, 2020 · 0 comments
Open

compatible with new Obj-C runtime #14

wormyrocks opened this issue Apr 1, 2020 · 0 comments

Comments

@wormyrocks
Copy link

If you can't use -DOBJC_OLD_DISPATCH_PROTOTYPES=1 for whatever reason, I have a patch with objc_MsgSend calls updated to use the syntax compatible with newer versions of Xcode.

This makes the code really ugly so I won't submit it as a pull request, but it works in a pinch. There may be a better way to handle this but this was a sledgehammer approach, I'm no obj-c developer.

There are also a few more fixes for newer versions of macOS upstream in my branch, but this is the one I sense might be the most helpful to other people.

https://github.com/wormyrocks/tray/blob/83fd0df977fc5365713b1eedfcd499c92695bfb6/tray.h

@wormyrocks wormyrocks changed the title compatible with Obj-C runtime compatible with new Obj-C runtime Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant