summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2020-03-31 17:50:43 +0200
committerAngelo Mantellini <angelo.mantellini@cisco.com>2020-03-31 17:50:43 +0200
commit59c4e435ccc8efc50ac11b8950e93ca1c81ede8f (patch)
tree5300393545c0975a6842be3362a901418e643eb6
parent23c3bb7400839b664096ad5e16a2346386109bda (diff)
[HICN-581] update hicn stack to support windows, again
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: I74f7c08ddd4494ce9ca6df7519785fe12cd1010f
-rw-r--r--utils/src/hiperf.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/src/hiperf.cc b/utils/src/hiperf.cc
index fee2b34c9..151e4df3d 100644
--- a/utils/src/hiperf.cc
+++ b/utils/src/hiperf.cc
@@ -718,10 +718,12 @@ class HIperfServer {
content_objects_index_(0),
mask_((std::uint16_t)(1 << log2_content_object_buffer_size) - 1),
last_segment_(0),
- ptr_last_segment_(&last_segment_),
#ifndef _WIN32
+ ptr_last_segment_(&last_segment_),
input_(io_service_),
rtc_running_(false)
+#else
+ ptr_last_segment_(&last_segment_)
#endif
{
std::string buffer(configuration_.payload_size_, 'X');