[client] tests: support native Windows builds

Use platform-appropriate temporary-file handling and function signatures
when compiling the standalone tests with MSVC-compatible Clang.
This commit is contained in:
Geoffrey McRae
2026-11-06 14:38:02 +11:00
parent 7530943446
commit aa064e3fa6
4 changed files with 28 additions and 23 deletions

View File

@@ -20,6 +20,7 @@
#include "test.h"
#include "common/debug.h"
#include "common/event.h"
#include "common/filesystem.h"
#include "common/random.h"
@@ -203,6 +204,7 @@ static void testFilesystem(void)
int main(void)
{
debug_init();
lgTimeInit();
testEventWaits();
testManualReset();