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

Ludovic Rousseau rousseau at costa.debian.org
Mon Mar 27 15:29:40 CEST 2006


Author: rousseau
Date: 2006-03-27 13:29:39 +0000 (Mon, 27 Mar 2006)
New Revision: 1979

Modified:
   trunk/PCSC/src/hotplug_macosx.c
Log:
compile only on Apple and if libusb is not used


Modified: trunk/PCSC/src/hotplug_macosx.c
===================================================================
--- trunk/PCSC/src/hotplug_macosx.c	2006-03-27 13:25:16 UTC (rev 1978)
+++ trunk/PCSC/src/hotplug_macosx.c	2006-03-27 13:29:39 UTC (rev 1979)
@@ -18,7 +18,7 @@
 #include "misc.h"
 #include "pcsclite.h"
 
-#ifdef __APPLE__
+#if defined(__APPLE__) && !defined(HAVE_LIBUSB)
 #include <CoreFoundation/CoreFoundation.h>
 #include <IOKit/IOCFPlugIn.h>
 #include <IOKit/IOKitLib.h>




More information about the Pcsclite-cvs-commit mailing list