aboutsummaryrefslogtreecommitdiffstats
path: root/g10/apdu.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--g10/apdu.c2
1 files changed, 2 insertions, 0 deletions
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
}