From 0865c99cee8e23271eee77ae0ebe2550e46caac8 Mon Sep 17 00:00:00 2001 From: jed Date: Thu, 29 Nov 2012 18:28:49 -0800 Subject: [PATCH] windows --- src/cpp/ripple/Application.cpp | 2 ++ src/cpp/ripple/NetworkOPs.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cpp/ripple/Application.cpp b/src/cpp/ripple/Application.cpp index 16fcada6a..b150c4787 100644 --- a/src/cpp/ripple/Application.cpp +++ b/src/cpp/ripple/Application.cpp @@ -82,11 +82,13 @@ void sigIntHandler(int) void Application::run() { +#ifndef WIN32 #ifdef SIGINT struct sigaction sa; memset(&sa, 0, sizeof(sa)); sa.sa_handler = sigIntHandler; sigaction(SIGINT, &sa, NULL); +#endif #endif assert(mTxnDB == NULL); diff --git a/src/cpp/ripple/NetworkOPs.cpp b/src/cpp/ripple/NetworkOPs.cpp index 4dab985ef..d36d00453 100644 --- a/src/cpp/ripple/NetworkOPs.cpp +++ b/src/cpp/ripple/NetworkOPs.cpp @@ -911,7 +911,7 @@ std::vector< std::pair > }else rawMeta.resize(metaSize); TransactionMetaSet::pointer meta= boost::make_shared(txn->getID(), txn->getLedger(), rawMeta.getData()); - ret.push_back(std::make_pair(txn,meta)); + ret.push_back(std::pair(txn,meta)); } }