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 authored and Charlie Birks committed 2021-08-14 17:04:46 +01:00
1 parent fbc364908a
commit d448896234
2 files changed
+185

No files matched your search

+2
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"