diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-05-15 09:11:04 +0200 |
|---|---|---|
| committer | Witchspace <[email protected]> | 2011-05-15 12:04:20 +0200 |
| commit | 223b6f1ba4819e9a146e7aa451d546726d0bc714 (patch) | |
| tree | 8d52eaba84ba2817d2227cf9fda0c71af75246cd /src/init.cpp | |
| parent | Merge pull request #224 from TheBlueMatt/mingwbuildfix (diff) | |
| download | discoin-223b6f1ba4819e9a146e7aa451d546726d0bc714.tar.xz discoin-223b6f1ba4819e9a146e7aa451d546726d0bc714.zip | |
make bitcoin include files more modular
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/init.cpp b/src/init.cpp index 7e8467534..431c533a8 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1,14 +1,10 @@ // Copyright (c) 2009-2010 Satoshi Nakamoto // Distributed under the MIT/X11 software license, see the accompanying // file license.txt or http://www.opensource.org/licenses/mit-license.php. - #include "headers.h" - - - - - +using namespace std; +using namespace boost; ////////////////////////////////////////////////////////////////////////////// // @@ -71,7 +67,6 @@ void HandleSIGTERM(int) // // Start // - #ifndef GUI int main(int argc, char* argv[]) { @@ -458,7 +453,7 @@ bool AppInit2(int argc, char* argv[]) if (mapArgs.count("-addnode")) { - foreach(string strAddr, mapMultiArgs["-addnode"]) + BOOST_FOREACH(string strAddr, mapMultiArgs["-addnode"]) { CAddress addr(strAddr, fAllowDNS); addr.nTime = 0; // so it won't relay unless successfully connected |