[git] GPG-ERROR - branch, master, updated. libgpg-error-1.23-7-g65e9676
by Andre Heinecke
cvs at cvs.gnupg.org
Tue Jul 5 11:20:27 CEST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Error codes used by GnuPG et al.".
The branch, master has been updated
via 65e967627b3d60f550c7d302227dcf9f797e437f (commit)
from 1a53a0ac4cc241a5c6d360d6259dd04afc09264c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 65e967627b3d60f550c7d302227dcf9f797e437f
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Mon Jul 4 16:19:50 2016 +0200
Define EWOULDBLOCK in case it is not defined
* src/estream.c (EWOULDBLOCK): Define fallback.
--
Older mingw versions (2.0) do not define EWOULDBLOCK in errno.h
diff --git a/src/estream.c b/src/estream.c
index 4352df5..4cc72ba 100644
--- a/src/estream.c
+++ b/src/estream.c
@@ -130,6 +130,11 @@
# define O_NONBLOCK 0 /* FIXME: Not yet supported. */
#endif
+#if !defined (EWOULDBLOCK) && defined (HAVE_W32_SYSTEM)
+/* Compatibility with errno.h from mingw-2.0 */
+# define EWOULDBLOCK 140
+#endif
+
#ifndef EAGAIN
# define EAGAIN EWOULDBLOCK
#endif
-----------------------------------------------------------------------
Summary of changes:
src/estream.c | 5 +++++
1 file changed, 5 insertions(+)
hooks/post-receive
--
Error codes used by GnuPG et al.
http://git.gnupg.org
More information about the Gnupg-commits
mailing list