Skip to content
Snippets Groups Projects
Commit c79de8d8 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

less complicated code for the MSG_NOSIGNAL detection

parent d670f308
No related branches found
No related tags found
No related merge requests found
......@@ -116,10 +116,11 @@ defined(HAVE_LIBSSL) && defined(HAVE_LIBCRYPTO)
#endif
#endif
#ifdef HAVE_MSG_NOSIGNAL
#ifdef MSG_NOSIGNAL
/* If we have the MSG_NOSIGNAL define, we make sure to use that in the forth
argument to send() and recv() */
#define SEND_4TH_ARG MSG_NOSIGNAL
#define HAVE_MSG_NOSIGNAL 1 /* we have MSG_NOSIGNAL */
#else
#define SEND_4TH_ARG 0
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment