diff options
author | Werner Koch <[email protected]> | 2011-09-30 07:45:21 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2011-09-30 07:45:21 +0000 |
commit | a2d081a20a27b1ae9bf201fc6b1b9bfa36aa7313 (patch) | |
tree | 22b2d7f548c2443af82ef6b1ec28464823956655 /common/dotlock.c | |
parent | Add dotlock_get_fd and dotlock_set_fd. (diff) | |
download | gnupg-a2d081a20a27b1ae9bf201fc6b1b9bfa36aa7313.tar.gz gnupg-a2d081a20a27b1ae9bf201fc6b1b9bfa36aa7313.zip |
Add prefix macro for dotlock functions.
Also fixed a type in the GLIB version.
Diffstat (limited to 'common/dotlock.c')
-rw-r--r-- | common/dotlock.c | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/common/dotlock.c b/common/dotlock.c index c65f6f637..6b6a73097 100644 --- a/common/dotlock.c +++ b/common/dotlock.c @@ -142,19 +142,24 @@ 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. + GNUPG_MAJOR_VERSION - Defined when used by GnuPG. - HAVE_DOSISH_SYSTEM - Defined for Windows etc. Will be - automatically defined if a the target is - Windows. - HAVE_POSIX_SYSTEM - Internally defined to !HAVE_DOSISH_SYSTEM. + HAVE_DOSISH_SYSTEM - Defined for Windows etc. Will be + automatically defined if a the target is + Windows. + + HAVE_POSIX_SYSTEM - Internally defined to !HAVE_DOSISH_SYSTEM. - HAVE_SIGNAL_H - Should be defined on Posix systems. If config.h - is not used defaults to defined. + HAVE_SIGNAL_H - Should be defined on Posix systems. If config.h + is not used defaults to defined. DIRSEP_C - Separation character for file name parts. Usually not redefined. - EXTSEP_S "." - Separation string for file name suffixes. + + EXTSEP_S - Separation string for file name suffixes. Usually not redefined. HAVE_W32CE_SYSTEM - Currently only used by GnuPG. @@ -318,7 +323,7 @@ # 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_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 |