diff options
author | cslashm <cslashm@gmail.com> | 2018-05-23 10:22:55 +0200 |
---|---|---|
committer | cslashm <cslashm@gmail.com> | 2018-05-23 10:22:55 +0200 |
commit | bdf5a3ad3fb9e626a0c1cc2264934f26d07d06fc (patch) | |
tree | 2b5825df6768c530b59dce4b4eda722fe6c106ec /src/device/device_ledger.hpp | |
parent | Merge pull request #3800 (diff) | |
download | monero-bdf5a3ad3fb9e626a0c1cc2264934f26d07d06fc.tar.xz |
Fix PCSC compilation under windows
PR3843 based on release-v0.12 => rebased on master
Diffstat (limited to 'src/device/device_ledger.hpp')
-rw-r--r-- | src/device/device_ledger.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp index f1fcaab87..b62bdf959 100644 --- a/src/device/device_ledger.hpp +++ b/src/device/device_ledger.hpp @@ -33,8 +33,13 @@ #include <cstddef> #include <string> #include "device.hpp" +#ifdef WIN32 +#include <winscard.h> +#define MAX_ATR_SIZE 33 +#else #include <PCSC/winscard.h> #include <PCSC/wintypes.h> +#endif #include <boost/thread/mutex.hpp> #include <boost/thread/recursive_mutex.hpp> |