From 8bc02e783cd43d1b67927d24d2a13d6987ca3911 Mon Sep 17 00:00:00 2001
From: "roman.khlopkov" <roman.khlopkov@demlabs.net>
Date: Thu, 26 Sep 2024 09:27:16 +0300
Subject: [PATCH] [*] Windows build fix

---
 modules/chain/dap_chain_cell.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/chain/dap_chain_cell.c b/modules/chain/dap_chain_cell.c
index c284bd4117..146a1dc8a0 100644
--- a/modules/chain/dap_chain_cell.c
+++ b/modules/chain/dap_chain_cell.c
@@ -475,7 +475,9 @@ int dap_chain_cell_load(dap_chain_t *a_chain, dap_chain_cell_t *a_cell)
             a_cell->map_pos += l_el_size;
             a_chain->load_progress = (int)((float)l_pos/l_full_size * 100 + 0.5);
         }
+#ifndef DAP_OS_WINDOWS
         s_cell_reclaim_cur_volume(a_cell);
+#endif
     } else { 
         DAP_DELETE(l_hdr);
         size_t l_read = 0;
-- 
GitLab