updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / acsccid / pcsc-lite-1_7_3.patch
blobde773fa23da7cb51ca247c3d61f40fcdb6baa758
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
5 @@ -31,6 +31,12 @@
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
13 +#endif
15 #define IOCTL_FEATURE_MCT_READERDIRECT \
16 SCARD_CTL_CODE(FEATURE_MCT_READERDIRECT + CLASS2_IOCTL_MAGIC)