Closed nandub closed 4 years ago
MacOS isn't really the target platform for OpenWebRX, so there may be other issues down the line... it's been a while since I tried running the whole setup on my MacBook, mostly because it has seen better days and I moved on to other platforms.
Anyway, I don't mind changes in the way you're proposing, but would you mind moving it to a separate file? Something like compat.h
or maybe shims.h
. The file you added it to serves a different purpose, and I'm not even sure it's going to be around for long.
@jketterl thanks, I understand, but macos
is the only OS I have, so far I have been able to compile most components except wsjtx
and owrx_connector
without this fix. I will let you know once I have tested.
I updated the pull request, I went with the shims.h
name and pushed the changes.
Somebody asked about building WSJT-X on Mac on the wsjt-devel Mailing List today: https://sourceforge.net/p/wsjt/mailman/message/37080234/
Seems to be coincidence to me, but should help anyway in case you haven't seen it. :slightly_smiling_face:
Good Luck!
@jketterl thanks.
On MacOS it fails to compile because MacOS doesn't define MSG_NOSIGNAL.
See error:
This pull request fixes the error, the fix was taken from https://github.com/tschaffter/tinywebsockets/issues/1.