compiles on mac

master
Marc Wäckerlin 15 years ago
parent 1f007bf395
commit 4340be6ceb
  1. 8
      src/pcsc.hxx

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

Loading…
Cancel
Save