diff options
-rw-r--r-- | NitrokeyManager.cc | 1 | ||||
-rw-r--r-- | libnitrokey/log.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/NitrokeyManager.cc b/NitrokeyManager.cc index 6a89a5b..966ed64 100644 --- a/NitrokeyManager.cc +++ b/NitrokeyManager.cc @@ -31,6 +31,7 @@ #include "libnitrokey/cxx_semantics.h" #include <functional> #include <stick10_commands.h> +#include "libnitrokey/log.h" std::mutex nitrokey::proto::send_receive_mtx; diff --git a/libnitrokey/log.h b/libnitrokey/log.h index 2a64bef..377d30b 100644 --- a/libnitrokey/log.h +++ b/libnitrokey/log.h @@ -99,6 +99,7 @@ namespace nitrokey { #ifdef NO_LOG #define LOG(string, level) while(false){} #define LOGD(string) while(false){} +#define LOGD1(string) while(false){} #else #define LOG(string, level) nitrokey::log::Log::instance()((string), (level)) #define LOGD1(string) nitrokey::log::Log::instance()((string), (nitrokey::log::Loglevel::DEBUG_L1)) |