summaryrefslogtreecommitdiffstats
path: root/g13
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>2012-01-03 16:50:52 +0100
committerMarcus Brinkmann <marcus.brinkmann@ruhr-uni-bochum.de>2012-01-03 16:50:52 +0100
commit61ccd8d92d9d3b8ba0eca3c2969d7f6f37e16405 (patch)
treef3e4930fe63de495326a6e4c20d259dd308ec8a4 /g13
parentTerminate csh commands with a semicolon also for dirmngr. (diff)
downloadgnupg2-61ccd8d92d9d3b8ba0eca3c2969d7f6f37e16405.tar.xz
gnupg2-61ccd8d92d9d3b8ba0eca3c2969d7f6f37e16405.zip
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.
Diffstat (limited to 'g13')
-rw-r--r--g13/g13.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g13/g13.c b/g13/g13.c
index e38f21165..bc05977c5 100644
--- a/g13/g13.c
+++ b/g13/g13.c
@@ -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)
{