summaryrefslogtreecommitdiffstats
path: root/dirmngr/dirmngr-err.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2010-07-16 15:19:45 +0200
committerWerner Koch <wk@gnupg.org>2010-07-16 15:19:45 +0200
commit8b8925a2bdbb12dd537dde20a27cdb1416c2f1ae (patch)
tree366acb6bb52e61242bb39682ddddb76615c3ba34 /dirmngr/dirmngr-err.h
parentMake it build on W32 again. (diff)
downloadgnupg2-8b8925a2bdbb12dd537dde20a27cdb1416c2f1ae.tar.xz
gnupg2-8b8925a2bdbb12dd537dde20a27cdb1416c2f1ae.zip
Some work on porting dirmngr (unfinished)
Ported gpgtar to W32.
Diffstat (limited to 'dirmngr/dirmngr-err.h')
-rw-r--r--dirmngr/dirmngr-err.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/dirmngr/dirmngr-err.h b/dirmngr/dirmngr-err.h
new file mode 100644
index 000000000..17e825570
--- /dev/null
+++ b/dirmngr/dirmngr-err.h
@@ -0,0 +1,12 @@
+/* Definition of the gpg-error source. */
+
+#ifndef DIRMNGR_ERR_H
+#define DIRMNGR_ERR_H
+
+#ifdef GPG_ERR_SOURCE_DEFAULT
+#error GPG_ERR_SOURCE_DEFAULT already defined
+#endif
+#define GPG_ERR_SOURCE_DEFAULT GPG_ERR_SOURCE_DIRMNGR
+#include <gpg-error.h>
+
+#endif /*DIRMNGR_ERR_H*/