aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scd/apdu.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index ffa28c689..254c74101 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -256,8 +256,13 @@ static npth_mutex_t reader_table_lock;
struct pcsc_io_request_s
{
+#if defined(_WIN32) || defined(__CYGWIN__)
+ pcsc_dword_t protocol;
+ pcsc_dword_t pci_len;
+#else
unsigned long protocol;
unsigned long pci_len;
+#endif
};
typedef struct pcsc_io_request_s *pcsc_io_request_t;