Browse Source

!870 Log macro error in windows

From: @taoxiangdong
Reviewed-by: @xchu42,@liujunzhu
Signed-off-by: @ji_chen
tags/v1.2.0
mindspore-ci-bot Gitee 3 years ago
parent
commit
4d4c4710fa
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      inc/framework/common/debug/log.h

+ 1
- 1
inc/framework/common/debug/log.h View File

@@ -28,7 +28,7 @@
#include "ge/ge_api_error_codes.h" #include "ge/ge_api_error_codes.h"


#if !defined(__ANDROID__) && !defined(ANDROID) #if !defined(__ANDROID__) && !defined(ANDROID)
#define DOMI_LOGE(...) GE_LOG_ERROR(GE_MODULE_NAME, ge::FAILED, __VA_ARGS__)
#define DOMI_LOGE(fmt, ...) GE_LOG_ERROR(GE_MODULE_NAME, ge::FAILED, fmt, ##__VA_ARGS__)
#else #else
#include <android/log.h> #include <android/log.h>
#if defined(BUILD_VERSION_PERF) #if defined(BUILD_VERSION_PERF)


Loading…
Cancel
Save