diff --git a/src/pcsc.hxx b/src/pcsc.hxx index bea1030..09c4ca4 100644 --- a/src/pcsc.hxx +++ b/src/pcsc.hxx @@ -451,9 +451,6 @@ namespace pcsc { case SCARD_E_NO_MEMORY: ss<<"Not enough memory available to complete this command."; break; - case SCARD_E_NO_READERS_AVAILABLE: - ss<<"No smart card reader is available."; - break; case SCARD_E_NO_SERVICE: ss<<"The smart card resource manager is not running."; break; @@ -532,6 +529,11 @@ namespace pcsc { ss<<"The reader cannot communicate with the smart card," <<" due to ATR configuration conflicts."; break; +#ifndef __APPLE__ + case SCARD_E_NO_READERS_AVAILABLE: + ss<<"No smart card reader is available."; + break; +#endif #ifdef WIN32 case ERROR_BROKEN_PIPE: ss<<"The client attempted a smart card operation in a"