From e2c2e9dc1a9a7f7eafff371cdf29bb731015238c Mon Sep 17 00:00:00 2001 From: Gabriele Contini <gcontini@users.noreply.github.com> Date: 周六, 14 12月 2019 13:56:41 +0800 Subject: [PATCH] Merge pull request #69 from open-license-manager/feature/issue_licenses_42 --- src/library/base/logger.h | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/library/base/logger.h b/src/library/base/logger.h index cf08405..4a516e4 100644 --- a/src/library/base/logger.h +++ b/src/library/base/logger.h @@ -1,8 +1,9 @@ #ifndef logger_INCLUDED #define logger_INCLUDED -#ifndef LOG_ENABLED +#ifndef LOG_DISABLED #include <errno.h> +#include <string.h> #ifdef __cplusplus extern "C" { #endif @@ -25,7 +26,7 @@ #define LOG_ERROR(M, ...) #endif -void _log(char* format, ...); +void _log(const char* format, ...); void _shutdown_log(); #ifdef __cplusplus -- Gitblit v1.9.1