fix: build on Windows

This commit is contained in:
2024-01-19 15:56:45 +01:00
parent 0abe351697
commit 56044d8dc0
7 changed files with 84 additions and 19 deletions

5
tests/fmemopen.h Normal file
View File

@@ -0,0 +1,5 @@
#ifdef _WIN32
#pragma once
#include <stdio.h>
FILE *fmemopen(void *buf, size_t len, const char *type);
#endif