From eb02f5b46a68acf840b26fe2893d2c82e24b8acb Mon Sep 17 00:00:00 2001 From: Timo Schulz Date: Mon, 4 Oct 2004 17:25:29 +0000 Subject: 2004-10-03 Timo Schulz * apdu.c (apdu_open_remote_reader) [_WIN32]: Do not set ENOSYS. --- g10/apdu.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'g10/apdu.c') diff --git a/g10/apdu.c b/g10/apdu.c index fceb4f396..f2bc2f21d 100644 --- a/g10/apdu.c +++ b/g10/apdu.c @@ -2047,7 +2047,9 @@ apdu_open_remote_reader (const char *portstr, writefnc, writefnc_value, closefnc, closefnc_value); #else + #ifndef _WIN32 errno = ENOSYS; + #endif return -1; #endif } -- cgit