Fix win32 build break in mediapipe.

buffer_aligned_size_ is not used in tflite_support, but is used
in mediapipe.

PiperOrigin-RevId: 565477047
This commit is contained in:
Daniel Cheng 2023-09-14 14:24:08 -07:00 committed by Copybara-Service
parent f2b11bf250
commit 65e7cd5236

View File

@ -82,11 +82,9 @@ class ExternalFileHandler {
// The aligned mapped memory buffer offset, if any. // The aligned mapped memory buffer offset, if any.
int64 buffer_aligned_offset_{}; int64 buffer_aligned_offset_{};
#ifndef _WIN32
// The aligned mapped memory buffer size in bytes taking into account the // The aligned mapped memory buffer size in bytes taking into account the
// offset shift introduced by buffer_aligned_memory_offset_, if any. // offset shift introduced by buffer_aligned_memory_offset_, if any.
int64 buffer_aligned_size_{}; int64 buffer_aligned_size_{};
#endif
}; };
} // namespace core } // namespace core