1 Description: Fix compatibility with pcsc-lite >= 1.7.3
2 Author: Wolfgang Rosenauer <wr@rosenauer.org>
3 --- a/src/ccid_ifdhandler.h
4 +++ b/src/ccid_ifdhandler.h
6 SCARD_CTL_CODE(FEATURE_VERIFY_PIN_DIRECT + CLASS2_IOCTL_MAGIC)
7 #define IOCTL_FEATURE_MODIFY_PIN_DIRECT \
8 SCARD_CTL_CODE(FEATURE_MODIFY_PIN_DIRECT + CLASS2_IOCTL_MAGIC)
10 +// Fix problem using pcsc-lite 1.7.3 or later header files
11 +#ifndef FEATURE_MCT_READERDIRECT
12 +#define FEATURE_MCT_READERDIRECT FEATURE_MCT_READER_DIRECT
15 #define IOCTL_FEATURE_MCT_READERDIRECT \
16 SCARD_CTL_CODE(FEATURE_MCT_READERDIRECT + CLASS2_IOCTL_MAGIC)