diff options
Diffstat (limited to 'scd/apdu.c')
-rw-r--r-- | scd/apdu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/apdu.c b/scd/apdu.c index c9fe43b2f..156c37eb8 100644 --- a/scd/apdu.c +++ b/scd/apdu.c @@ -671,6 +671,9 @@ readn (int fd, void *buf, size_t buflen, size_t *nread) while (nleft > 0) { #ifdef USE_GNU_PTH +# ifdef HAVE_W32_SYSTEM +# error Cannot use pth_read here because it expects a system HANDLE. +# endif n = pth_read (fd, buf, nleft); #else n = read (fd, buf, nleft); |