[Pcsclite-cvs-commit] r2474 - trunk/PCSC/src/PCSC

Ludovic Rousseau rousseau at alioth.debian.org
Mon Mar 12 11:39:29 CET 2007


Author: rousseau
Date: 2007-03-12 10:39:29 +0000 (Mon, 12 Mar 2007)
New Revision: 2474

Modified:
   trunk/PCSC/src/PCSC/ifdhandler.h
Log:
define RESPONSECODE type only if RESPONSECODE_DEFINED_IN_WINTYPES_H is
not defined (needed to compile the driver with an old pcsc-lite)


Modified: trunk/PCSC/src/PCSC/ifdhandler.h
===================================================================
--- trunk/PCSC/src/PCSC/ifdhandler.h	2007-03-12 10:07:35 UTC (rev 2473)
+++ trunk/PCSC/src/PCSC/ifdhandler.h	2007-03-12 10:39:29 UTC (rev 2474)
@@ -142,7 +142,9 @@
 #define IFD_ICC_NOT_PRESENT		616
 #define IFD_NO_SUCH_DEVICE		617
 
+#ifndef RESPONSECODE_DEFINED_IN_WINTYPES_H
 	typedef long RESPONSECODE;
+#endif
 
 	/*
 	 * If you want to compile a V2.0 IFDHandler, define IFDHANDLERv2 before you




More information about the Pcsclite-cvs-commit mailing list