Skip to content

Commit

Permalink
Add missing em_js.h header
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkewley committed Aug 2, 2024
1 parent 31024be commit 54ff99d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/oscar/UI/imgui_impl_sdl2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
#if defined(__APPLE__)
#include <TargetConditionals.h>
#endif
#ifdef __EMSCRIPTEN__
#include <emscripten/em_js.h>
#endif

#if SDL_VERSION_ATLEAST(2,0,4) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__) && !(defined(__APPLE__) && TARGET_OS_IOS) && !defined(__amigaos4__)
#define SDL_HAS_CAPTURE_AND_GLOBAL_MOUSE 1
Expand Down

0 comments on commit 54ff99d

Please sign in to comment.