diff --git a/paddle/fluid/lite/core/memory.h b/paddle/fluid/lite/core/memory.h index 0b364f0b3a58a280490085470c70e246cc2b54b6..5b332f7e3ac14f19fc46e4d19cb3041761927c37 100644 --- a/paddle/fluid/lite/core/memory.h +++ b/paddle/fluid/lite/core/memory.h @@ -24,9 +24,9 @@ static void* TargetMalloc(TargetType target, size_t size) { case TargetType::kHost: #ifdef LITE_WITH_X86 case TargetType::kX86: +#endif data = TargetWrapper::Malloc(size); break; -#endif #ifdef LITE_WITH_CUDA case TargetType::kCUDA: data =