aboutsummaryrefslogtreecommitdiffstats
path: root/src/logging.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-11-28 11:54:13 +0000
committerWerner Koch <[email protected]>2017-11-28 12:15:29 +0000
commit241e9a73891fcd12f124aab1a299c2cf4f8eebc4 (patch)
tree5cec2c3e3ffc2e74fda5f7c965393f24e91fc92c /src/logging.c
parentcore: New API functions gpgrt_getenv and gpgrt_setenv. (diff)
downloadlibgpg-error-241e9a73891fcd12f124aab1a299c2cf4f8eebc4.tar.gz
libgpg-error-241e9a73891fcd12f124aab1a299c2cf4f8eebc4.zip
core: Prepare to build with gpgscm.
* configure.ac: New option --enable-gpgscm. Create gpgscm/Makefile. (GPGRT_ENABLE_LOG_MACROS): Define. * Makefile.am (SUBDIRS): Add gpgscm * src/logging.c (_gpgrt_logv_clock): Do not use the log_debug macro. -- Note that gpscm does not yet build. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/logging.c')
-rw-r--r--src/logging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logging.c b/src/logging.c
index 13873eb..70c13ba 100644
--- a/src/logging.c
+++ b/src/logging.c
@@ -1165,7 +1165,7 @@ _gpgrt_logv_clock (const char *fmt, va_list arg_ptr)
if (clock_gettime (CLOCK_REALTIME, &tv))
{
- log_debug ("error getting the realtime clock value\n");
+ _gpgrt_log_debug ("error getting the realtime clock value\n");
return;
}
now = tv.tv_sec * 1000000000ull;