try to use the e-health hack only for windoze; refs #22
This commit is contained in:
@@ -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