Handle the lack of SCARD_CTL_CODE on Mac

This commit is contained in:
Alexander Zakharov 2017-10-04 22:30:46 +03:00
parent f091a38cff
commit ed3726a9fa

View File

@ -33,6 +33,7 @@
#include <PCSC/wintypes.h>
#include <PCSC/pcsclite.h>
#include <PCSC/winscard.h>
#define SCARD_CTL_CODE(code) (0x42000000 + (code))
#else
#include <wintypes.h>
#include <pcsclite.h>