summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 2 insertions, 0 deletions
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");