summaryrefslogtreecommitdiff
path: root/lib/atfork.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-06-26 16:31:21 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-06-26 16:31:23 +0200
commit84b1a7ac383bf1db4c73b8f044170446deca8b2e (patch)
tree47503aef696b2368f259b009b65fd047e4003f13 /lib/atfork.h
parente0ffc1dcc31b089daedabd46d079061e44ba6367 (diff)
downloadgnutls-84b1a7ac383bf1db4c73b8f044170446deca8b2e.tar.gz
Don't use pthread_atfork(), it is not safe to use with dlopen()
http://austingroupbugs.net/view.php?id=851
Diffstat (limited to 'lib/atfork.h')
-rw-r--r--lib/atfork.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/atfork.h b/lib/atfork.h
index 23700fdb7a..6c046d0ae0 100644
--- a/lib/atfork.h
+++ b/lib/atfork.h
@@ -28,7 +28,7 @@
extern unsigned int _gnutls_forkid;
-#if defined(HAVE___REGISTER_ATFORK) || defined(HAVE_PTHREAD_ATFORK)
+#if defined(HAVE___REGISTER_ATFORK)
# define HAVE_ATFORK
#endif