#25: RESPONSECODE definition in pcsc-lite moved to ifdhandler.h --------------------------+------------------------------------------------- Reporter: aj | Owner: [EMAIL PROTECTED] Type: enhancement | Status: new Priority: normal | Component: general Version: 0.6.11 | Severity: normal Resolution: | Keywords: --------------------------+------------------------------------------------- Comment (by xor):
Hello I'm not at all sure what the above patch does, but what really breaks compilation is that RESPONSECODE is an unknown type. On my system (Gentoo) the RESPONSECODE type is only defined in /usr/include/PCSC/ifdhandler.h, which is NOT included by the openct source files. Applying the following patch to the openct source code AFTER applying Ludovic's patch finally got openct to compile: --- src/pcsc/ifdhandler.h.o 2007-03-24 14:07:37.000000000 +0100 +++ src/pcsc/ifdhandler.h 2007-03-24 13:53:46.000000000 +0100 @@ -125,6 +125,8 @@ * List of Defined Functions Available to IFD_Handler 2.0 */ +typedef long RESPONSECODE; + RESPONSECODE IFDHCreateChannel(DWORD, DWORD); RESPONSECODE IFDHCloseChannel(DWORD); RESPONSECODE IFDHGetCapabilities(DWORD, DWORD, PDWORD, PUCHAR); -- Ticket URL: <https://www.opensc-project.org/openct/ticket/25> OpenCT <http://www.opensc-project.org/>