diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-01-06 09:59:33 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-01-06 09:59:33 +0100 |
commit | f53a7a21142e96cb9a2f807ba875179c7b3d266e (patch) | |
tree | dec2081eec1518c2f5be505a78f77fda948e1060 /lib/system.h | |
parent | f1a141e5c247b706fb2022d50666d5f5a71bb6ff (diff) | |
download | gnutls-f53a7a21142e96cb9a2f807ba875179c7b3d266e.tar.gz |
Revert "in DTLS don't use writev() when multiple packets which exceed MTU are queued"
This reverts commit 43082a67c7514d65301d157fb567a133138a85ab.
Diffstat (limited to 'lib/system.h')
-rw-r--r-- | lib/system.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/system.h b/lib/system.h index f9b067538c..d94b1564ee 100644 --- a/lib/system.h +++ b/lib/system.h @@ -42,9 +42,10 @@ int system_errno(gnutls_transport_ptr_t); int system_recv_timeout(gnutls_transport_ptr_t ptr, unsigned int ms); +#ifdef _WIN32 ssize_t system_write(gnutls_transport_ptr_t ptr, const void *data, size_t data_size); -#ifndef _WIN32 +#else #define HAVE_WRITEV ssize_t system_writev(gnutls_transport_ptr_t ptr, const giovec_t * iovec, int iovec_cnt); |