try to use the e-health hack only for windoze; refs #22
This commit is contained in:
1 parent
49ff530497
commit
9ccb074ea4
1 file changed
+4
@@ -536,7 +536,11 @@ namespace pcsc {
|
||||
|
||||
//! @c false if last operation was not successful
|
||||
operator bool() const {
|
||||
#ifdef WIN32
|
||||
return (_state>>30&3)==0;
|
||||
#else
|
||||
return _state==SCARD_S_SUCCESS;
|
||||
#endif
|
||||
}
|
||||
|
||||
//! Get the describing text of the last error
|
||||
|
||||
Reference in new issue
Block a user