fix fedora-18 bug; closes #24
This commit is contained in:
@@ -10,9 +10,9 @@ BuildRequires: subversion gcc-c++ doxygen graphviz texlive automake autoconf lib
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
%if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version}
|
||||
BuildRequires: cppunit-devel openssl-devel
|
||||
%elseif 0%{?suse_version} || 0%{?sles_version}
|
||||
%else%if 0%{?suse_version} || 0%{?sles_version}
|
||||
BuildRequires: libcppunit-devel libopenssl-devel
|
||||
%endif
|
||||
%endif%endif
|
||||
|
||||
|
||||
%description
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user