Unity fixes for Linux build

This commit is contained in:
Vinnie Falco
2013-05-22 20:57:04 -07:00
parent 8e57e9662e
commit 4e2be20f7a
2 changed files with 6 additions and 2 deletions

View File

@@ -7,12 +7,16 @@
#include <boost/thread/recursive_mutex.hpp>
// VFALCO: TODO, fix this for Linux builds
// Forward declaration
/*
namespace boost {
namespace filesystem {
class path;
}
}
*/
#include <boost/filesystem.hpp> // unfortunately needed to compile
// Ensure that we don't get value.h without writer.h
#include "../json/json.h"

View File

@@ -697,7 +697,7 @@ BOOST_AUTO_TEST_CASE( SHAMapSync_test )
destination.clearSynching();
#ifdef SMS_DEBUG
WriteLog (lsINFO) << "SYNCHING COMPLETE " << items << " items, " << nodes << " nodes, " <<
WriteLog (lsINFO, SHAMap) << "SYNCHING COMPLETE " << items << " items, " << nodes << " nodes, " <<
bytes / 1024 << " KB";
#endif
@@ -708,7 +708,7 @@ BOOST_AUTO_TEST_CASE( SHAMapSync_test )
}
#ifdef SMS_DEBUG
WriteLog (lsINFO) << "SHAMapSync test passed: " << items << " items, " <<
WriteLog (lsINFO, SHAMap) << "SHAMapSync test passed: " << items << " items, " <<
passes << " passes, " << nodes << " nodes";
#endif