From 8729f409f3f98cafad5ebed37f60ccd1dfce99af Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Sun, 19 Feb 2017 19:50:51 +0900 Subject: [PATCH] sighandler_t is glibc specific type. --- include/boost/process/detail/posix/signal.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/process/detail/posix/signal.hpp b/include/boost/process/detail/posix/signal.hpp index 7b77f75b..c6fd4515 100644 --- a/include/boost/process/detail/posix/signal.hpp +++ b/include/boost/process/detail/posix/signal.hpp @@ -16,7 +16,7 @@ namespace boost { namespace process { namespace detail { namespace posix { -#if ! defined (__APPLE__) +#if defined(__GLIBC__) using sighandler_t = ::sighandler_t; #else using sighandler_t = void(*)(int);