mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-24 02:12:55 +00:00
wawawawawawawa
forgot to enabel some stuff
This commit is contained in:
parent
b04b2d70fc
commit
1408a56ddc
|
|
@ -23,7 +23,9 @@
|
|||
#include <stdio.h>
|
||||
#include <sys/time.h>
|
||||
#include <locale>
|
||||
#ifndef __EMSCRIPTEN__
|
||||
#include <linux/mman.h>
|
||||
#endif // __EMSCRIPTEN__
|
||||
#include <sys/mman.h>
|
||||
#include <codecvt>
|
||||
|
||||
|
|
@ -35,4 +37,4 @@
|
|||
#include "iggy_stubs.h"
|
||||
#endif
|
||||
|
||||
#endif // STUBS_H
|
||||
#endif // STUBS_H
|
||||
|
|
|
|||
|
|
@ -47,10 +47,14 @@ global_cpp_args = [
|
|||
if host_machine.system() == 'emscripten'
|
||||
add_project_arguments(
|
||||
'-pthread',
|
||||
'--use-port=zlib',
|
||||
'-sUSE_SDL=2',
|
||||
'--use-port=sdl2',
|
||||
language: 'cpp'
|
||||
)
|
||||
|
||||
add_project_link_arguments(
|
||||
'-sUSE_SDL=2',
|
||||
'-sUSE_WEBGL2=1',
|
||||
'-sLEGACY_GL_EMULATION=1',
|
||||
'-sALLOW_MEMORY_GROWTH=1',
|
||||
|
|
|
|||
Loading…
Reference in a new issue