From f1ffe1acaac043e9da666525ad888e88b5f208ea Mon Sep 17 00:00:00 2001 From: Ari Vuollet Date: Sun, 4 Aug 2024 23:38:02 +0300 Subject: [PATCH] Fix Linux compilation without SDL --- Source/Engine/Platform/Linux/LinuxPlatform.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Source/Engine/Platform/Linux/LinuxPlatform.cpp b/Source/Engine/Platform/Linux/LinuxPlatform.cpp index 0ba8c02f2..c82fc4b4f 100644 --- a/Source/Engine/Platform/Linux/LinuxPlatform.cpp +++ b/Source/Engine/Platform/Linux/LinuxPlatform.cpp @@ -1217,12 +1217,14 @@ public: } }; -/*struct Property +#if !PLATFORM_SDL +struct Property { - unsigned char* data; - int format, nitems; - X11::Atom type; -};*/ + unsigned char* data; + int format, nitems; + X11::Atom type; +}; +#endif namespace Impl {