Browse Source

Undefine clogS for windows builds.

cl-refactor
Gav Wood 10 years ago
parent
commit
a37d214ecb
  1. 3
      libethereum/EthereumPeer.cpp
  2. 3
      libp2p/Capability.cpp
  3. 3
      libp2p/Session.cpp
  4. 3
      libwhisper/Interface.cpp
  5. 1
      libwhisper/Message.cpp
  6. 3
      libwhisper/WhisperHost.cpp
  7. 4
      libwhisper/WhisperPeer.cpp

3
libethereum/EthereumPeer.cpp

@ -34,6 +34,9 @@ using namespace dev;
using namespace dev::eth;
using namespace p2p;
#if defined(clogS)
#undef clogS
#endif
#define clogS(X) dev::LogOutputStream<X, true>(false) << "| " << std::setw(2) << session()->socketId() << "] "
EthereumPeer::EthereumPeer(Session* _s, HostCapabilityFace* _h, unsigned _i):

3
libp2p/Capability.cpp

@ -27,6 +27,9 @@ using namespace std;
using namespace dev;
using namespace dev::p2p;
#if defined(clogS)
#undef clogS
#endif
#define clogS(X) dev::LogOutputStream<X, true>(false) << "| " << std::setw(2) << session()->socketId() << "] "
Capability::Capability(Session* _s, HostCapabilityFace* _h, unsigned _idOffset): m_session(_s), m_host(_h), m_idOffset(_idOffset)

3
libp2p/Session.cpp

@ -31,6 +31,9 @@ using namespace std;
using namespace dev;
using namespace dev::p2p;
#if defined(clogS)
#undef clogS
#endif
#define clogS(X) dev::LogOutputStream<X, true>(false) << "| " << std::setw(2) << m_socket.native_handle() << "] "
Session::Session(Host* _s, bi::tcp::socket _socket, bi::address _peerAddress, unsigned short _peerPort):

3
libwhisper/Interface.cpp

@ -29,6 +29,9 @@ using namespace dev;
using namespace dev::p2p;
using namespace dev::shh;
#if defined(clogS)
#undef clogS
#endif
#define clogS(X) dev::LogOutputStream<X, true>(false) << "| " << std::setw(2) << session()->socketId() << "] "
bool MessageFilter::matches(Message const& _m) const

1
libwhisper/Message.cpp

@ -25,4 +25,3 @@ using namespace std;
using namespace dev;
using namespace dev::p2p;
using namespace dev::shh;
#define clogS(X) dev::LogOutputStream<X, true>(false) << "| " << std::setw(2) << session()->socketId() << "] "

3
libwhisper/WhisperHost.cpp

@ -28,6 +28,9 @@ using namespace dev;
using namespace dev::p2p;
using namespace dev::shh;
#if defined(clogS)
#undef clogS
#endif
#define clogS(X) dev::LogOutputStream<X, true>(false) << "| " << std::setw(2) << session()->socketId() << "] "
WhisperHost::WhisperHost()

4
libwhisper/WhisperPeer.cpp

@ -28,6 +28,10 @@ using namespace std;
using namespace dev;
using namespace dev::p2p;
using namespace dev::shh;
#if defined(clogS)
#undef clogS
#endif
#define clogS(X) dev::LogOutputStream<X, true>(false) << "| " << std::setw(2) << session()->socketId() << "] "
WhisperPeer::WhisperPeer(Session* _s, HostCapabilityFace* _h, unsigned _i): Capability(_s, _h, _i)

Loading…
Cancel
Save