mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 10:57:01 +00:00
Set IOV_MAX for IRIX
This commit is contained in:
parent
ad1e9b7e3c
commit
ec993dbdbc
2
netio.c
2
netio.c
@ -296,6 +296,8 @@ void packet_queue_to_iovec(const struct Queue *queue, struct iovec *iov, unsigne
|
|||||||
#ifndef IOV_MAX
|
#ifndef IOV_MAX
|
||||||
#if defined(__CYGWIN__) && !defined(UIO_MAXIOV)
|
#if defined(__CYGWIN__) && !defined(UIO_MAXIOV)
|
||||||
#define IOV_MAX 1024
|
#define IOV_MAX 1024
|
||||||
|
#elif defined(__sgi)
|
||||||
|
#define IOV_MAX 512
|
||||||
#else
|
#else
|
||||||
#define IOV_MAX UIO_MAXIOV
|
#define IOV_MAX UIO_MAXIOV
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user