[Pcsclite-cvs-commit] r2857 - /trunk/Drivers/ccid/src/ifdhandler.c

rousseau at users.alioth.debian.org rousseau at users.alioth.debian.org
Sat Mar 29 15:12:39 UTC 2008


Author: rousseau
Date: Sat Mar 29 15:12:39 2008
New Revision: 2857

URL: http://svn.debian.org/wsvn/pcsclite/?sc=1&rev=2857
Log:
use defined(USE_USB_INTERRUPT) instead of just USE_USB_INTERRUPT

ifdhandler.c:60:66: warning: "USE_USB_INTERRUPT" is not defined

Modified:
    trunk/Drivers/ccid/src/ifdhandler.c

Modified: trunk/Drivers/ccid/src/ifdhandler.c
URL: http://svn.debian.org/wsvn/pcsclite/trunk/Drivers/ccid/src/ifdhandler.c?rev=2857&op=diff
==============================================================================
--- trunk/Drivers/ccid/src/ifdhandler.c (original)
+++ trunk/Drivers/ccid/src/ifdhandler.c Sat Mar 29 15:12:39 2008
@@ -57,7 +57,7 @@
 static int DebugInitialized = FALSE;
 
 /* local functions */
-#if HAVE_DECL_TAG_IFD_POLLING_THREAD && !defined(TWIN_SERIAL) && USE_USB_INTERRUPT
+#if HAVE_DECL_TAG_IFD_POLLING_THREAD && !defined(TWIN_SERIAL) && defined(USE_USB_INTERRUPT)
 static RESPONSECODE IFDHPolling(DWORD Lun);
 static RESPONSECODE IFDHSleep(DWORD Lun);
 #endif
@@ -250,7 +250,7 @@
 } /* IFDHCloseChannel */
 
 
-#if HAVE_DECL_TAG_IFD_POLLING_THREAD && !defined(TWIN_SERIAL) && USE_USB_INTERRUPT
+#if HAVE_DECL_TAG_IFD_POLLING_THREAD && !defined(TWIN_SERIAL) && defined(USE_USB_INTERRUPT)
 static RESPONSECODE IFDHPolling(DWORD Lun)
 {
 	int reader_index;
@@ -381,7 +381,7 @@
 				*(uint32_t *)Value = get_ccid_descriptor(reader_index) -> dwMaxCCIDMessageLength -10;
 			break;
 
-#if HAVE_DECL_TAG_IFD_POLLING_THREAD && !defined(TWIN_SERIAL) && USE_USB_INTERRUPT
+#if HAVE_DECL_TAG_IFD_POLLING_THREAD && !defined(TWIN_SERIAL) && defined(USE_USB_INTERRUPT)
 		case TAG_IFD_POLLING_THREAD:
 			{
 				_ccid_descriptor *ccid_desc;




More information about the Pcsclite-cvs-commit mailing list