aboutsummaryrefslogtreecommitdiffstats
path: root/acconfig.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2000-11-20 20:17:36 +0000
committerWerner Koch <[email protected]>2000-11-20 20:17:36 +0000
commitf9a167c516c8bf5f9dfc076fa51eb60dc96c86fb (patch)
tree6247d32de5c7100587b7c01841fe3a877504e4a8 /acconfig.h
parentconfiguration changes (diff)
downloadgpgme-f9a167c516c8bf5f9dfc076fa51eb60dc96c86fb.tar.gz
gpgme-f9a167c516c8bf5f9dfc076fa51eb60dc96c86fb.zip
Does some basic tasks.V0-1-0
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@