Closed ronangaillard closed 4 years ago
Hello, thanks for the PR.
Although if it's related to OSX only, I'd surround this patch with another #if
to test the system.
#if TARGET_OS_MAC
// Or
#if __APPLE__
Can you check if one of those work?
I've also read that MSG_NOSIGNAL
is not defined on some others platforms (Solaris is one of them I think).
Do you still want me to add the #if
to check if on apple platform ?
Do you still want me to add the #if to check if on apple platform ?
Yes please :-)
Apple only, I wouldn't break anything on other platforms
Done :) Works and builds ok on my OSX
Let me know if you're ok with the syntax :)
MSG_NOSIGNAL
is not defined on OSX.This is a quick and dirty fix but allows me to build ulfius on OSX.