* Correct detection of Mac OS X Yosemite Version
This commit is contained in:
parent
64ff9ee1b6
commit
956cece54b
@ -1880,7 +1880,7 @@ WINSCARDAPI LONG WINAPI PCSC_SCardStatus_Internal(SCARDHANDLE hCard,
|
||||
/**
|
||||
* Workaround for SCardStatus Bug in MAC OS X Yosemite
|
||||
*/
|
||||
#if defined (__APPLE__) && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED == 1010
|
||||
#if defined (__APPLE__) && defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED == 101000
|
||||
pcsc_cchReaderLen++;
|
||||
#endif
|
||||
*pMszReaderNames = (LPSTR) calloc(1, pcsc_cchReaderLen);
|
||||
|
Loading…
Reference in New Issue
Block a user