diff --git a/examples/snakesdl_nldecl.nelua b/examples/snakesdl_nldecl.nelua index 69438248..d6c4170e 100644 --- a/examples/snakesdl_nldecl.nelua +++ b/examples/snakesdl_nldecl.nelua @@ -17,6 +17,10 @@ end -- include SDL2 header cinclude '' -- link SDL2 library +if ccinfo.is_tcc and ccinfo.is_x86_64 then + cflags '-DSDL_DISABLE_IMMINTRIN_H' +end + if ccinfo.is_emscripten then cflags '-s USE_SDL=2 -s ASYNCIFY=1' else