1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

Fix last change: Only set gcrypt thread callback for older versions.

* dirmngr/dirmngr.c, g13/g13.c: Rename FIX_GCRY_PTH_INIT to
USE_GCRY_THREAD_CBS.
This commit is contained in:
Marcus Brinkmann 2012-01-03 16:50:52 +01:00
parent 682df45d15
commit 61ccd8d92d
2 changed files with 4 additions and 4 deletions

View File

@ -281,10 +281,10 @@ static void handle_connections (assuan_fd_t listen_fd);
ASSUAN_SYSTEM_PTH_IMPL;
#if GCRY_THREAD_OPTION_VERSION == 0
#define FIX_GCRY_PTH_INIT 1
#define USE_GCRY_THREAD_CBS 1
#endif
#ifdef FIX_GCRY_PTH_INIT
#ifdef USE_GCRY_THREAD_CBS
GCRY_THREAD_OPTION_PTH_IMPL;
static int fixed_gcry_pth_init (void)
{

View File

@ -205,10 +205,10 @@ static void join_idle_task (void);
ASSUAN_SYSTEM_PTH_IMPL;
#if GCRY_THREAD_OPTION_VERSION == 0
#define FIX_GCRY_PTH_INIT 1
#define USE_GCRY_THREAD_CBS 1
#endif
#ifdef FIX_GCRY_PTH_INIT
#ifdef USE_GCRY_THREAD_CBS
GCRY_THREAD_OPTION_PTH_IMPL;
static int fixed_gcry_pth_init (void)
{