Fix tests compilation in MSVC.

This commit is contained in:
2026-04-04 15:54:38 +01:00
parent 509bb6026d
commit 774ccbc8ae
6 changed files with 14 additions and 0 deletions

View File

@@ -22,9 +22,12 @@
/** @brief Clamp num_threads to LZMA's valid range [1, 2]. */
#define LZMA_THREADS(ctx) ((ctx)->num_threads > 1 ? 2 : 1)
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include "aaruformat/context.h"
#if defined(AARU_USE_WIN32_FILEIO64)
#define AARU_FSEEK _fseeki64
#define AARU_FTELL _ftelli64