From 968a6f3c0ac4690a6fc74e8d84058bce91019c2e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 15 Jun 2010 10:12:04 +0100 Subject: Changes for building with Visual Studio 2008 --- src/main.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index e0da3a25..ef611f51 100644 --- a/src/main.cc +++ b/src/main.cc @@ -70,7 +70,9 @@ int main(int argc, char * argv[], char * envp[]) filesystem::path::default_name_check(filesystem::portable_posix_name); std::signal(SIGINT, sigint_handler); +#ifndef WIN32 std::signal(SIGPIPE, sigpipe_handler); +#endif #if defined(HAVE_GETTEXT) ::textdomain("ledger"); -- cgit v1.2.3