From 8e67e8c3f21c798ff1f4862b0e7228825e6dd4f6 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Fri, 25 Mar 2022 11:22:22 +0900 Subject: w32: Fix for MinGW which doesn't define EOPNOTSUPP. * src/w32-estream.c: Add EOPNOTSUPP. -- GnuPG-bug-id: 5890 Reported-by: Eli Zaretskii Signed-off-by: NIIBE Yutaka --- src/w32-estream.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/w32-estream.c b/src/w32-estream.c index 5bb1bcf..e17ea2c 100644 --- a/src/w32-estream.c +++ b/src/w32-estream.c @@ -39,6 +39,10 @@ #include #include +#ifndef EOPNOTSUPP +# define EOPNOTSUPP ENOSYS +#endif + /* Enable tracing. The value is the module name to be printed. */ /*#define ENABLE_TRACING "estream" */ -- cgit v1.2.3