diff --git a/evpp/logging.h b/evpp/logging.h index 2afb6109e..ee652ec9e 100644 --- a/evpp/logging.h +++ b/evpp/logging.h @@ -3,13 +3,15 @@ #include "evpp/platform_config.h" #ifdef __cplusplus + + +#ifdef GOOGLE_STRIP_LOG + #define GOOGLE_GLOG_DLL_DECL // 使用静态glog库时,必须定义这个 #define GLOG_NO_ABBREVIATED_SEVERITIES // 没这个编译会出错,传说因为和Windows.h冲突 #include -#ifdef GOOGLE_STRIP_LOG - #if GOOGLE_STRIP_LOG == 0 #define LOG_TRACE LOG(INFO) #define LOG_DEBUG LOG(INFO)