diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-15 10:12:04 +0100 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-15 05:14:00 -0400 |
commit | 968a6f3c0ac4690a6fc74e8d84058bce91019c2e (patch) | |
tree | 25874de7e90c34224c842e6b716ca9e82fe01028 /src/main.cc | |
parent | 76b1ed68509d11308d50710f0542cef8fa437329 (diff) | |
download | fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.tar.gz fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.tar.bz2 fork-ledger-968a6f3c0ac4690a6fc74e8d84058bce91019c2e.zip |
Changes for building with Visual Studio 2008
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 2 |
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"); |