Support compiling demos in wasm build

This commit is contained in:
mmcomando 2021-03-01 21:29:40 +01:00
parent d1c48e4c5f
commit 3eb4a40c39
11 changed files with 139 additions and 43 deletions

View file

@ -17,10 +17,8 @@ version (Posix)version = MM_USE_POSIX_THREADS;
version (WebAssembly)
{
version = MM_NO_LOGS;
extern(C) struct FILE
{
}
version = MM_USE_POSIX_THREADS;
struct FILE;
}
else
{