From 82f9d834ad772b2f16b6524f679d14d8a7afe881 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <gcontini@users.noreply.github.com> Date: 周二, 10 9月 2019 23:29:10 +0800 Subject: [PATCH] fix issue #37 tests in windows --- src/library/base/logger.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/library/base/logger.h b/src/library/base/logger.h index cf08405..c9dae04 100644 --- a/src/library/base/logger.h +++ b/src/library/base/logger.h @@ -1,7 +1,7 @@ #ifndef logger_INCLUDED #define logger_INCLUDED -#ifndef LOG_ENABLED +#ifndef LOG_DISABLED #include <errno.h> #ifdef __cplusplus extern "C" { @@ -25,7 +25,7 @@ #define LOG_ERROR(M, ...) #endif -void _log(char* format, ...); +void _log(const char* format, ...); void _shutdown_log(); #ifdef __cplusplus -- Gitblit v1.9.1