2 ===================================================================
3 --- src/dirmngr.c (revision 348)
4 +++ src/dirmngr.c (working copy)
6 the option parsing may need services of the libraries. */
8 /* Libgcrypt requires us to register the threading model first.
9 - Note that this will also do the pth_init. */
10 + Note that this will also do the pth_init for libgcrypt < 1.6 */
12 +#if GCRYPT_VERSION_NUMBER >= 0x010600
16 rc = gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pth);