From ffc40ba63417e6db8bfe9942ad70c31c25e5d46e 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 e61334f82..5ed6c16e6 100644 --- a/Source/Engine/Platform/Linux/LinuxPlatform.cpp +++ b/Source/Engine/Platform/Linux/LinuxPlatform.cpp @@ -1213,12 +1213,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 {