mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-16 16:28:23 +00:00
Backends: SDL2: undef Status for X11. (#8751)
This commit is contained in:
@@ -118,6 +118,9 @@
|
|||||||
#ifdef __EMSCRIPTEN__
|
#ifdef __EMSCRIPTEN__
|
||||||
#include <emscripten/em_js.h>
|
#include <emscripten/em_js.h>
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef Status // X11 headers
|
||||||
|
#undef Status
|
||||||
|
#endif
|
||||||
|
|
||||||
#if SDL_VERSION_ATLEAST(2,0,4) && !defined(__EMSCRIPTEN__) && !defined(__ANDROID__) && !(defined(__APPLE__) && TARGET_OS_IOS) && !defined(__amigaos4__)
|
#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
|
#define SDL_HAS_CAPTURE_AND_GLOBAL_MOUSE 1
|
||||||
|
Reference in New Issue
Block a user