[Pcsclite-cvs-commit] r1927 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at costa.debian.org
Mon Mar 6 10:13:57 CET 2006


Author: rousseau
Date: 2006-03-06 09:13:56 +0000 (Mon, 06 Mar 2006)
New Revision: 1927

Modified:
   trunk/Drivers/ccid/src/ccid_usb.h
Log:
use #if defined (__USB_H__) || defined (_SYS_USB_LIBUSB_USB_H) instead
of #ifdef __USB_H__ to support the Solaris libusb

thanks to Iain MacDonnell for the patch


Modified: trunk/Drivers/ccid/src/ccid_usb.h
===================================================================
--- trunk/Drivers/ccid/src/ccid_usb.h	2006-03-06 09:12:44 UTC (rev 1926)
+++ trunk/Drivers/ccid/src/ccid_usb.h	2006-03-06 09:13:56 UTC (rev 1927)
@@ -33,7 +33,7 @@
 
 status_t CloseUSB(unsigned int reader_index);
 
-#ifdef __USB_H__
+#if defined (__USB_H__) || defined (_SYS_USB_LIBUSB_USB_H)
 int get_desc(int lun, usb_dev_handle **handle, struct usb_device **dev);
 
 /*@null@*/ struct usb_interface *get_ccid_usb_interface(struct usb_device *dev);




More information about the Pcsclite-cvs-commit mailing list