From 4d1a6ad2f267e3b83f7c04122af8d8e7ee9a2113 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Mon, 25 Apr 2016 08:28:34 +0200 Subject: Issue #138: fixed MSG_NOSIGNAL on Mac OS. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index aaec1d15..c157e4b6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -977,6 +977,9 @@ CHECK_FUNCTION_EXISTS(syscall VMIME_HAVE_SYSCALL) CHECK_SYMBOL_EXISTS(SYS_gettid sys/syscall.h VMIME_HAVE_SYSCALL_GETTID) CHECK_SYMBOL_EXISTS(SO_KEEPALIVE sys/socket.h VMIME_HAVE_SO_KEEPALIVE) +CHECK_SYMBOL_EXISTS(SO_NOSIGPIPE sys/socket.h VMIME_HAVE_SO_NOSIGPIPE) + +CHECK_SYMBOL_EXISTS(MSG_NOSIGNAL sys/socket.h VMIME_HAVE_MSG_NOSIGNAL) CHECK_SYMBOL_EXISTS(strerror_r string.h VMIME_HAVE_STRERROR_R) -- cgit v1.2.3