diff options
author | NIIBE Yutaka <[email protected]> | 2022-03-25 02:22:22 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2022-03-25 02:22:22 +0000 |
commit | 8e67e8c3f21c798ff1f4862b0e7228825e6dd4f6 (patch) | |
tree | f9855104058d8ff1a8cd7c279c828742cb586c8b | |
parent | w32: Support file names longer than MAX_PATH. (diff) | |
download | libgpg-error-8e67e8c3f21c798ff1f4862b0e7228825e6dd4f6.tar.gz libgpg-error-8e67e8c3f21c798ff1f4862b0e7228825e6dd4f6.zip |
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 <[email protected]>
-rw-r--r-- | src/w32-estream.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 <io.h> #include <windows.h> +#ifndef EOPNOTSUPP +# define EOPNOTSUPP ENOSYS +#endif + /* Enable tracing. The value is the module name to be printed. */ /*#define ENABLE_TRACING "estream" */ |