diff options
Diffstat (limited to 'src/gpg-error.h.in')
-rw-r--r-- | src/gpg-error.h.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in index a0bbf17..8c008ac 100644 --- a/src/gpg-error.h.in +++ b/src/gpg-error.h.in @@ -175,7 +175,10 @@ gpg_error_t gpg_err_init (void) _GPG_ERR_CONSTRUCTOR; constructor and does not need to be initialized explicitely. */ #undef GPG_ERR_INITIALIZED #ifdef _GPG_ERR_HAVE_CONSTRUCTOR -#define GPG_ERR_INITIALIZED 1 +# define GPG_ERR_INITIALIZED 1 +# define gpgrt_init() do { gpg_err_init (); } while (0) +#else +# define gpgrt_init() do { ; } while (0) #endif /* Register blocking system I/O clamping functions. */ @@ -272,7 +275,8 @@ gpg_err_code_t gpg_err_code_from_syserror (void); ERRNO due to peculiarities on WindowsCE. */ void gpg_err_set_errno (int err); -/* Return or check the version. */ +/* Return or check the version. Both functions are identical. */ +const char *gpgrt_check_version (const char *req_version); const char *gpg_error_check_version (const char *req_version); /* The version string of this header. */ |