summaryrefslogtreecommitdiff
path: root/network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'network.cpp')
-rw-r--r--network.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/network.cpp b/network.cpp
index 841c2bf..ead3a1c 100644
--- a/network.cpp
+++ b/network.cpp
@@ -8,6 +8,8 @@
NAMESPACE_BEGIN(CryptoPP)
+#ifdef HIGHRES_TIMER_AVAILABLE
+
lword LimitedBandwidth::ComputeCurrentTransceiveLimit()
{
if (!m_maxBytesPerSecond)
@@ -223,8 +225,6 @@ bool NonblockingSink::IsolatedFlush(bool hardFlush, bool blocking)
// *************************************************************
-#ifdef HIGHRES_TIMER_AVAILABLE
-
NetworkSource::NetworkSource(BufferedTransformation *attachment)
: NonblockingSource(attachment), m_buf(1024*16)
, m_waitingForResult(false), m_outputBlocked(false)