This is an automated email from the ASF dual-hosted git repository.

thiru pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/avro.git


The following commit(s) were added to refs/heads/master by this push:
     new 88de5c8  Skipping iovec for Win32 (#375)
88de5c8 is described below

commit 88de5c89207d92f402cf250f2225bf7898af3c0c
Author: Thiruvalluvan M G <[email protected]>
AuthorDate: Mon Nov 12 23:31:26 2018 +0530

    Skipping iovec for Win32 (#375)
---
 lang/c++/api/buffer/Buffer.hh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lang/c++/api/buffer/Buffer.hh b/lang/c++/api/buffer/Buffer.hh
index cf2ab79..821d061 100644
--- a/lang/c++/api/buffer/Buffer.hh
+++ b/lang/c++/api/buffer/Buffer.hh
@@ -490,6 +490,7 @@ inline InputBuffer OutputBuffer::extractData(size_type 
bytes)
     return InputBuffer(newImpl);
 }
 
+#ifndef _WIN32
 /** 
  * Create an array of iovec structures from the buffer.  This utility is used
  * to support writev and readv function calls.  The caller should ensure the
@@ -519,6 +520,7 @@ inline void toIovec(BufferType &buf, std::vector<struct 
iovec> &iov)
         ++iter;
     }
 }
+#endif
 
 } // namespace
 

Reply via email to