From c2785590834dfe91574367f4256918c37b6ddfcc Mon Sep 17 00:00:00 2001 From: Ivan Vanyushkin Date: Thu, 29 Sep 2016 21:46:45 +0300 Subject: Fix build under Cygwin. --- src/main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index df1933f9..07192651 100644 --- a/src/main.cc +++ b/src/main.cc @@ -74,7 +74,7 @@ int main(int argc, char * argv[], char * envp[]) #endif std::signal(SIGINT, sigint_handler); -#ifndef _WIN32 +#if !defined(_WIN32) && !defined(__CYGWIN__) std::signal(SIGPIPE, sigpipe_handler); #endif -- cgit v1.2.3