qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v23 08/11] libcacard: add passthru


From: Jes Sorensen
Subject: Re: [Qemu-devel] [PATCH v23 08/11] libcacard: add passthru
Date: Mon, 28 Mar 2011 17:25:45 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9

On 03/28/11 17:21, Alon Levy wrote:
>> > Where does this odd LONG type come from? I think Windows uses LONG so
>> > having your own type would conflict with that, and of course we don't
>> > really want Windows types directly in QEMU either, so I am curious?
>> > 
> This comes from pcsclite (which means I need to add the dependency to 
> configure,
> I'll fix this). From there it comes via an include called wintypes.h. the 
> PCSC API
> is actually a copy of a microsoft API, so it makes sense that it uses those 
> types.
> 
> On windows pcsclite won't be needed, since it has a native equivalent API, so 
> there
> won't be a redefinition of LONG.
> 
> So the real fix is that I need to add yet another dependency for qemu's 
> configure,
> for pcsc-lite - but right now the whole libcacard/passthru.c is protected by 
> an
> "#ifdef USE_PASSTHRU", which we don't define - so in effect this is currently 
> dead
> code. I could even just remove this commit in its entirety atm, maybe best? 
> Notice
> that has nothing to do with ccid-card-emulated or with ccid-card-passthru. I 
> will
> need it later, but I need to add the pcsclite configure check anyway. So is 
> this ok,
> I'll drop this patch?
> 

Interesting - yeah if the code isn't necessary, lets drop it for now. It
will be easier to get this in now, and the extra bits later when they
are ready.

Cheers,
Jes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]