From: Jeremy Harris Date: Thu, 29 Oct 2020 21:37:42 +0000 (+0000) Subject: Fix build on platforms lacking TIOCOUTQ ioctl X-Git-Url: https://git.exim.org/users/heiko/exim.git/commitdiff_plain/191d76b569c84b5664e47949727bf88ae0c978a9 Fix build on platforms lacking TIOCOUTQ ioctl --- diff --git a/src/src/transports/smtp.c b/src/src/transports/smtp.c index 9e337e93f..e8a9afbd0 100644 --- a/src/src/transports/smtp.c +++ b/src/src/transports/smtp.c @@ -4134,7 +4134,7 @@ if (!sx->ok) *message_defer = TRUE; } - +#ifdef TIOCOUTQ DEBUG(D_transport) if (sx->cctx.sock >= 0) { int n; @@ -4142,7 +4142,7 @@ if (!sx->ok) debug_printf("%d bytes remain in socket output buffer\n", n); } } - +#endif /* Otherwise, we have an I/O error or a timeout other than after MAIL or ".", or some other transportation error. We defer all addresses and yield DEFER, except for the case of failed add_headers expansion, or a transport