fix fedora-18 bug; closes #24

This commit is contained in:
Marc Wäckerlin
2013-01-25 14:36:03 +00:00
parent 7c027318ce
commit 37fb9c0cfd
2 changed files with 3 additions and 3 deletions

View File

@@ -536,7 +536,7 @@ namespace pcsc {
//! @c false if last operation was not successful
operator bool() const {
#ifdef WIN32
#ifdef WIN32
return (_state>>30&3)==0;
#else
return _state==SCARD_S_SUCCESS;