aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/sysutils.c')
-rw-r--r--common/sysutils.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/common/sysutils.c b/common/sysutils.c
index 50713a5f0..8b2d70180 100644
--- a/common/sysutils.c
+++ b/common/sysutils.c
@@ -1233,26 +1233,7 @@ gnupg_getcwd (void)
gpg_err_code_t
gnupg_access (const char *name, int mode)
{
-#if GPGRT_VERSION_NUMBER < 0x012800 /* 1.40 */
-# ifdef HAVE_W32_SYSTEM
- wchar_t *wname;
- gpg_err_code_t ec;
-
- wname = utf8_to_wchar (name);
- if (!wname)
- ec = gpg_err_code_from_syserror ();
- else
- {
- ec = _waccess (wname, mode)? gpg_err_code_from_syserror () : 0;
- xfree (wname);
- }
- return ec;
-# else
- return access (name, mode)? gpg_err_code_from_syserror () : 0;
-# endif
-#else /* gpgrt 1.40 or newer. */
return gpgrt_access (name, mode);
-#endif
}