title: How to use msg_nosignal on mac osx
body: <p>I have a code which runs on mac osx or on linux and I want it to be portable, how do I make an #ifndef statement which switches <code>msg_nosignal</code> to the relevant flag under macosx?</p>