Re: Which version onwards pcsc-lite support the Part10 features

Ludovic Rousseau <[email protected]>
Newsgroups gmane.comp.lib.muscle
Message-ID <CAGstE8BiONo2Lm=s-Cf=EksFtfHhh3YexVH_s9gSnTUQNjuEMA@mail.gmail.com>
2013/8/12 Anand Renju <[email protected]>:
> Hi Ludovic,
>
> I would like to know which is the initial version of pcsc-lite having the
> reader.h header with following entries
>
> #define FEATURE_VERIFY_PIN_DIRECT
> #define FEATURE_MODIFY_PIN_DIRECT
>
> Basically i want to use PCSCLITE_VERSION_NUMBER macro to include the Part10
> feature code in my application; also i don't want to break the code when i
> build it with older pcsc-lite versions which were not having the
> PCSCLITE_VERSION_NUMBER

Why don't you just do:

#ifndef FEATURE_VERIFY_PIN_DIRECT
#define FEATURE_VERIFY_PIN_DIRECT 0x06
/* Add other defines */
#endif

Bye

-- 
 Dr. Ludovic Rousseau
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.