aboutsummaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'acconfig.h')
-rw-r--r--acconfig.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/acconfig.h b/acconfig.h
index 2db9b12f..724fd6ff 100644
--- a/acconfig.h
+++ b/acconfig.h
@@ -21,9 +21,13 @@
#define GPGME_CONFIG_H
/* need this, because some autoconf tests rely on this (e.g. stpcpy)
- * and it should be used for new programs
- */
+ * and it should be used for new programs */
#define _GNU_SOURCE 1
+/* To allow the use of gpgme in multithreaded programs we have to use
+ * special features from the library.
+ * IMPORTANT: gpgme is not yet fully reentrant and you should use it
+ * only from one thread. */
+#define _REENTRANT 1
@TOP@