Support compiling demos in wasm build
This commit is contained in:
parent
d1c48e4c5f
commit
3eb4a40c39
11 changed files with 139 additions and 43 deletions
6
demos/external/sources/mmutils/thread_pool.d
vendored
6
demos/external/sources/mmutils/thread_pool.d
vendored
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue