diff options
author | Werner Koch <[email protected]> | 2014-05-02 06:06:10 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-05-02 06:22:38 +0000 |
commit | 84289e85c72ae58c321dfdb96816700a6b7f7122 (patch) | |
tree | b5df413e25fd8e72702e23a4efc36813475d5075 /common/exechelp-w32.c | |
parent | estream: Implement "samethread" mode keyword. (diff) | |
download | gnupg-84289e85c72ae58c321dfdb96816700a6b7f7122.tar.gz gnupg-84289e85c72ae58c321dfdb96816700a6b7f7122.zip |
common: Cleanup the use of USE_NPTH and HAVE_NPTH macros.
* configure.ac (HAVE_NPTH): New ac_define.
* common/estream.c: Use USE_NPTH instead of HAVE_NPTH.
* common/http.c: Ditto. Replace remaining calls to pth by npth calls.
(connect_server): Remove useless _().
* common/exechelp-posix.c, common/exechelp-w32.c
* common/exechelp-w32ce.c: Use HAVE_PTH to include npth.h.
* common/init.c (_init_common_subsystems): Remove call to pth_init.
* common/sysutils.c (gnupg_sleep): Use npth_sleep.
* scd/ccid-driver.c (my_sleep): Ditto.
--
USE_NPTH is used in case were we may build with and without nPth. The
missing definition HAVE_NPTH didn't allowed us to build outher sources
with nPTh support.
Diffstat (limited to 'common/exechelp-w32.c')
-rw-r--r-- | common/exechelp-w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/exechelp-w32.c b/common/exechelp-w32.c index 61193ed48..7bcd79bed 100644 --- a/common/exechelp-w32.c +++ b/common/exechelp-w32.c @@ -50,7 +50,7 @@ #undef USE_NPTH #endif -#ifdef USE_NPTH +#ifdef HAVE_NPTH #include <npth.h> #endif |