|
From: <lu...@us...> - 2009-03-20 16:50:36
|
Revision: 282
http://pyscard.svn.sourceforge.net/pyscard/?rev=282&view=rev
Author: ludov
Date: 2009-03-20 16:50:23 +0000 (Fri, 20 Mar 2009)
Log Message:
-----------
copy the definition of SCARD_CTL_CODE() from pcsc-lite instead of
inventing a new (and different) one.
Modified Paths:
--------------
trunk/pyscard/src/smartcard/scard/scard.i
Modified: trunk/pyscard/src/smartcard/scard/scard.i
===================================================================
--- trunk/pyscard/src/smartcard/scard/scard.i 2009-03-13 15:09:46 UTC (rev 281)
+++ trunk/pyscard/src/smartcard/scard/scard.i 2009-03-20 16:50:23 UTC (rev 282)
@@ -173,7 +173,7 @@
#ifdef __APPLE__
//#include <PCSC/reader.h>
#ifndef SCARD_CTL_CODE
- #define SCARD_CTL_CODE(x) (x)
+ #define SCARD_CTL_CODE(code) (0x42000000 + (code))
#endif
#else
#include <reader.h>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|