未验证 提交 620b801b 编写于 作者: W Wilber 提交者: GitHub

fix fluid-lite compile. test=develop (#3609)

上级 9a72737d
......@@ -13,9 +13,19 @@
// limitations under the License.
#pragma once
// Use internal log or glog, the priority is as follows:
// 1. tiny_publish should use internally implemented logging.
// 2. if LITE_WITH_LOG is turned off, internal logging is used.
// 3. use glog in other cases.
#if defined(LITE_WITH_LIGHT_WEIGHT_FRAMEWORK) || \
defined(LITE_ON_MODEL_OPTIMIZE_TOOL) || !defined(LITE_WITH_LOG)
defined(LITE_ON_MODEL_OPTIMIZE_TOOL)
#include "lite/utils/logging.h"
#else
#ifndef LITE_WITH_LOG
#include "lite/utils/logging.h"
#else // LITE_WITH_LIGHT_WEIGHT_FRAMEWORK
#else
#include <glog/logging.h>
#endif // LITE_WITH_LIGHT_WEIGHT_FRAMEWORK
#endif
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册