-fixed emscripten compilation

This commit is contained in:
Mergul 2021-01-03 13:08:29 +01:00
parent 3c1c67efd0
commit 84ba5f9eb5
6 changed files with 36 additions and 71 deletions

View file

@ -6,7 +6,11 @@
module bindbc.sdl.bind.sdllog;
import core.stdc.stdarg : va_list;
version(WebAssembly)
{
alias va_list = char*;
}
else import core.stdc.stdarg : va_list;
import bindbc.sdl.config;
enum SDL_MAX_LOG_MESSAGE = 4096;