Skip to content

Commit

Permalink
Ignore MSG_NOSIGNAL flag on platforms other than linux,
Browse files Browse the repository at this point in the history
because it is not supported
  • Loading branch information
daniel-sch committed Aug 21, 2018
1 parent 777ed05 commit cb5cf1e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions common/SoapySocketDefs.in.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,10 @@ typedef int socklen_t;
#if !defined(IPV6_DROP_MEMBERSHIP) && defined(IPV6_LEAVE_GROUP)
#define IPV6_DROP_MEMBERSHIP IPV6_LEAVE_GROUP
#endif

/***********************************************************************
* socket flag definitions
**********************************************************************/
#ifndef MSG_NOSIGNAL
#define MSG_NOSIGNAL 0
#endif

0 comments on commit cb5cf1e

Please # to comment.