From 241e9a73891fcd12f124aab1a299c2cf4f8eebc4 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 28 Nov 2017 12:54:13 +0100 Subject: 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 --- src/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/logging.c') 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; -- cgit v1.2.3