blob: 87083245b28f6405e18b881edd4787d0834cf586 [file]
// Include emscripten/version.h to ensure that the in-tree
// include directory has not been added to the include path.
#include <emscripten/version.h>
#include <SDL3/SDL.h>
int main() {
int compiled = SDL_VERSION;
SDL_Log("SDL version: %d.%d.%d\n",
SDL_VERSIONNUM_MAJOR(compiled),
SDL_VERSIONNUM_MINOR(compiled),
SDL_VERSIONNUM_MICRO(compiled));
return 0;
}