[Pkg-gnupg-commit] [libassuan] 02/08: Fix windows build with mingw-w64 2.0.x

Eric Dorland eric at moszumanska.debian.org
Wed Dec 2 06:17:56 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libassuan.

commit cef28d96debcf94003f94f3ea2181e80aff0b665
Author: Andre Heinecke <aheinecke at intevation.de>
Date:   Fri Nov 13 15:53:00 2015 +0100

    Fix windows build with mingw-w64 2.0.x
    
    * src/assuan-socket.c: Add errno values not defined by mingw-w64 2.0
---
 src/assuan-socket.c | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/src/assuan-socket.c b/src/assuan-socket.c
index 89723b3..5ad7299 100644
--- a/src/assuan-socket.c
+++ b/src/assuan-socket.c
@@ -70,6 +70,30 @@
 # define S_IRGRP 0
 # define S_IWGRP 0
 #endif
+#ifndef ENOTSUP
+#define ENOTSUP 129
+#endif
+#ifndef EPROTO
+#define EPROTO 134
+#endif
+#ifndef EPROTONOSUPPORT
+#define EPROTONOSUPPORT 135
+#endif
+#ifndef ENETDOWN
+#define ENETDOWN 116
+#endif
+#ifndef ENETUNREACH
+#define ENETUNREACH 118
+#endif
+#ifndef EHOSTUNREACH
+#define EHOSTUNREACH 110
+#endif
+#ifndef ECONNREFUSED
+#define ECONNREFUSED 107
+#endif
+#ifndef ETIMEDOUT
+#define ETIMEDOUT 138
+#endif
 #endif
 
 #ifndef ENAMETOOLONG

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/libassuan.git



More information about the Pkg-gnupg-commit mailing list