diff options
| author | NIIBE Yutaka <[email protected]> | 2025-11-25 00:18:15 +0000 |
|---|---|---|
| committer | NIIBE Yutaka <[email protected]> | 2025-11-25 00:18:15 +0000 |
| commit | e4f20ba10a6a56a7145ed8213d547fd9e85575fe (patch) | |
| tree | 088c1fbc1ac4399cebae4a64fefbf3528a46c0c0 /common/dotlock.c | |
| parent | po: Update Portuguese translation (diff) | |
| download | gnupg-e4f20ba10a6a56a7145ed8213d547fd9e85575fe.tar.gz gnupg-e4f20ba10a6a56a7145ed8213d547fd9e85575fe.zip | |
commond:dotlock: Remove support of use with glib.
* common/dotlock.c [DOTLOCK_GLIB_LOGGING]: Remove.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'common/dotlock.c')
| -rw-r--r-- | common/dotlock.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/common/dotlock.c b/common/dotlock.c index 19611ab7a..247eb9100 100644 --- a/common/dotlock.c +++ b/common/dotlock.c @@ -187,8 +187,6 @@ DOTLOCK_USE_PTHREAD - Define if POSIX threads are in use. - DOTLOCK_GLIB_LOGGING - Define this to use Glib logging functions. - DOTLOCK_EXT_SYM_PREFIX - Prefix all external symbols with the string to which this macro evaluates. @@ -304,10 +302,6 @@ # include <pthread.h> #endif -#ifdef DOTLOCK_GLIB_LOGGING -# include <glib.h> -#endif - #ifdef GNUPG_MAJOR_VERSION # include "util.h" # include "common-defs.h" @@ -359,16 +353,6 @@ # define my_error_2(a,b,c) log_error ((a), (b), (c)) # define my_debug_1(a,b) log_debug ((a), (b)) # define my_fatal_0(a) log_fatal ((a)) -#elif defined (DOTLOCK_GLIB_LOGGING) -# define my_info_0(a) g_message ((a)) -# define my_info_1(a,b) g_message ((a), (b)) -# define my_info_2(a,b,c) g_message ((a), (b), (c)) -# define my_info_3(a,b,c,d) g_message ((a), (b), (c), (d)) -# define my_error_0(a) g_warning ((a)) -# define my_error_1(a,b) g_warning ((a), (b)) -# define my_error_2(a,b,c) g_warning ((a), (b), (c)) -# define my_debug_1(a,b) g_debug ((a), (b)) -# define my_fatal_0(a) g_error ((a)) #else # define my_info_0(a) fprintf (stderr, (a)) # define my_info_1(a,b) fprintf (stderr, (a), (b)) |
