From c611c6ee6be450528271fff6d92b368952bee3ec Mon Sep 17 00:00:00 2001 From: Elad Lahav Date: Sat, 7 Jan 2023 21:36:38 -0500 Subject: [PATCH] Do not enable SYSWM_X11 for QNX --- include/SDL3/SDL_syswm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_syswm.h b/include/SDL3/SDL_syswm.h index 8c85bf37a..72bbd16e0 100644 --- a/include/SDL3/SDL_syswm.h +++ b/include/SDL3/SDL_syswm.h @@ -106,7 +106,7 @@ #endif /* !SDL_DISABLE_SYSWM_WINRT */ #ifndef SDL_DISABLE_SYSWM_X11 -#if defined(__unix__) && !defined(__WIN32__) && !defined(__ANDROID__) +#if defined(__unix__) && !defined(__WIN32__) && !defined(__ANDROID__) && !defined(__QNX__) #define SDL_ENABLE_SYSWM_X11 #endif #endif /* !SDL_DISABLE_SYSWM_X11 */