8039319: (smartcardio) Card.transmitControlCommand() does not work on Mac OS X
Reviewed-by: valeriep
This commit is contained in:
parent
91d9371566
commit
2f8bdbc5fd
@ -136,5 +136,9 @@ JNIEXPORT void JNICALL Java_sun_security_smartcardio_PlatformPCSC_initialize
|
||||
if ((*env)->ExceptionCheck(env)) {
|
||||
return;
|
||||
}
|
||||
#ifndef __APPLE__
|
||||
scardControl = (FPTR_SCardControl) findFunction(env, hModule, "SCardControl");
|
||||
#else
|
||||
scardControl = (FPTR_SCardControl) findFunction(env, hModule, "SCardControl132");
|
||||
#endif // __APPLE__
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user