-fixed emscripten compilation
This commit is contained in:
parent
3c1c67efd0
commit
84ba5f9eb5
6 changed files with 36 additions and 71 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue