Add SDL_config_emscripten.h

Currently we maintain a config file in the emscripten
repo, but this seems like what other embedded/cross
platforms do.
This commit is contained in:
Sam Clegg
2021-05-19 08:24:33 -07:00
committed by Charlie Birks
parent fbc364908a
commit d448896234
2 changed files with 185 additions and 0 deletions

View File

@@ -43,6 +43,8 @@
#include "SDL_config_psp.h"
#elif defined(__OS2__)
#include "SDL_config_os2.h"
#elif defined(__EMSCRIPTEN__)
#include "SDL_config_emscripten.h"
#else
/* This is a minimal configuration just to get SDL running on new platforms. */
#include "SDL_config_minimal.h"