aboutsummaryrefslogtreecommitdiff
path: root/src/device/device.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/device/device.cpp')
-rw-r--r--src/device/device.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/device/device.cpp b/src/device/device.cpp
index 8a8b40061..50041baef 100644
--- a/src/device/device.cpp
+++ b/src/device/device.cpp
@@ -29,7 +29,7 @@
#include "device.hpp"
#include "device_default.hpp"
-#ifdef HAVE_PCSC
+#ifdef WITH_DEVICE_LEDGER
#include "device_ledger.hpp"
#endif
#include "misc_log_ex.h"
@@ -45,7 +45,7 @@ namespace hw {
device_registry::device_registry(){
hw::core::register_all(registry);
- #ifdef HAVE_PCSC
+ #ifdef WITH_DEVICE_LEDGER
hw::ledger::register_all(registry);
#endif
}