From 9e6069cac80e851cc8af8ef3a3851289d4c92675 Mon Sep 17 00:00:00 2001 From: ewewukek Date: Thu, 4 Jan 2024 15:09:58 +0300 Subject: Don't depend on __clang__ and include on all non-Windows platforms --- src/progs/dyecmd/client.cpp | 6 ++---- src/resources/wallpaper.cpp | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/progs/dyecmd/client.cpp b/src/progs/dyecmd/client.cpp index 483451ed6..ec88650c1 100644 --- a/src/progs/dyecmd/client.cpp +++ b/src/progs/dyecmd/client.cpp @@ -85,11 +85,9 @@ PRAGMA48(GCC diagnostic pop) #include #include "fs/specialfolder.h" #undef ERROR -#endif // WIN32 - -#ifdef __clang__ +#else // WIN32 #include -#endif // __clang__ +#endif // WIN32 #ifdef ANDROID #ifndef USE_SDL2 diff --git a/src/resources/wallpaper.cpp b/src/resources/wallpaper.cpp index b76556fec..58f76e3b6 100644 --- a/src/resources/wallpaper.cpp +++ b/src/resources/wallpaper.cpp @@ -37,11 +37,9 @@ #ifdef WIN32 #include -#endif // WIN32 - -#ifdef __clang__ +#else // WIN32 #include -#endif // __clang__ +#endif // WIN32 #include "debug.h" -- cgit v1.2.3-70-g09d2