From da5971315266fb1e1612e7858266353bcd17c837 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 1bb076326..3b12e1bc4 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 {