aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme-tool.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2010-10-07 10:58:51 +0000
committerWerner Koch <[email protected]>2010-10-07 10:58:51 +0000
commitc2ef39811db27cb28d9ce0eafc64c82d0f66df82 (patch)
tree8396b4b9fa5817b67bb5a89c402c897d65e24deb /src/gpgme-tool.c
parentReturn GPG_ERR_MISSING_ISSUER_CERT. (diff)
downloadgpgme-c2ef39811db27cb28d9ce0eafc64c82d0f66df82.tar.gz
gpgme-c2ef39811db27cb28d9ce0eafc64c82d0f66df82.zip
Enable debugging feature for W32CE.
kFreeBSD portability fix.
Diffstat (limited to 'src/gpgme-tool.c')
-rw-r--r--src/gpgme-tool.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gpgme-tool.c b/src/gpgme-tool.c
index da2b6ec9..068681f6 100644
--- a/src/gpgme-tool.c
+++ b/src/gpgme-tool.c
@@ -109,7 +109,11 @@ struct argp_state
void *pstate;
};
-#define ARGP_ERR_UNKNOWN EDEADLOCK
+#ifdef EDEADLK
+# define ARGP_ERR_UNKNOWN EDEADLK /* POSIX */
+#else
+# define ARGP_ERR_UNKNOWN EDEADLOCK /* *GNU/kFreebsd does not define this) */
+#endif
#define ARGP_KEY_ARG 0
#define ARGP_KEY_ARGS 0x1000006
#define ARGP_KEY_END 0x1000001