From 65e7cd5236104754a1c871e331200e8be523ecd5 Mon Sep 17 00:00:00 2001 From: Daniel Cheng Date: Thu, 14 Sep 2023 14:24:08 -0700 Subject: [PATCH] Fix win32 build break in mediapipe. buffer_aligned_size_ is not used in tflite_support, but is used in mediapipe. PiperOrigin-RevId: 565477047 --- mediapipe/tasks/cc/core/external_file_handler.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/mediapipe/tasks/cc/core/external_file_handler.h b/mediapipe/tasks/cc/core/external_file_handler.h index 01352df7f..3150fde59 100644 --- a/mediapipe/tasks/cc/core/external_file_handler.h +++ b/mediapipe/tasks/cc/core/external_file_handler.h @@ -82,11 +82,9 @@ class ExternalFileHandler { // The aligned mapped memory buffer offset, if any. int64 buffer_aligned_offset_{}; -#ifndef _WIN32 // The aligned mapped memory buffer size in bytes taking into account the // offset shift introduced by buffer_aligned_memory_offset_, if any. int64 buffer_aligned_size_{}; -#endif }; } // namespace core