From 4340be6ceb813ad109f913b8597236ddcb464489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Tue, 1 Sep 2009 10:01:45 +0000 Subject: [PATCH] compiles on mac --- src/pcsc.hxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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"