[Pcsclite-cvs-commit] r2446 - trunk/pycsc
Ludovic Rousseau
rousseau at alioth.debian.org
Sun Feb 25 20:44:27 CET 2007
Author: rousseau
Date: 2007-02-25 20:44:26 +0100 (Sun, 25 Feb 2007)
New Revision: 2446
Modified:
trunk/pycsc/pycsc.c
Log:
#ifdef SCARD_E_NO_READERS_AVAILABLE for Mac OS X
Thanks to Martin Paljak for the patch
Modified: trunk/pycsc/pycsc.c
===================================================================
--- trunk/pycsc/pycsc.c 2007-02-25 14:17:27 UTC (rev 2445)
+++ trunk/pycsc/pycsc.c 2007-02-25 19:44:26 UTC (rev 2446)
@@ -153,9 +153,11 @@
case SCARD_E_NO_MEMORY:
strcpy(strErrorCode, "SCARD_E_NO_MEMORY");
break;
+#ifdef SCARD_E_NO_READERS_AVAILABLE
case SCARD_E_NO_READERS_AVAILABLE:
strcpy(strErrorCode, "SCARD_E_NO_READERS_AVAILABLE");
break;
+#endif
case SCARD_E_NO_SERVICE:
strcpy(strErrorCode, "SCARD_E_NO_SERVICE");
break;
More information about the Pcsclite-cvs-commit
mailing list