From 082e523ec95344161f2d575141b9fc2bd36cd181 Mon Sep 17 00:00:00 2001 From: FarewellNehir Date: Tue, 3 Sep 2024 18:29:05 +0300 Subject: [PATCH] SDL var check --- tests/test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test.cpp b/tests/test.cpp index 53860f8..a76fcca 100755 --- a/tests/test.cpp +++ b/tests/test.cpp @@ -1,4 +1,6 @@ +#if GMENG_SDL #include "SDL2/SDL.h" +#endif #include #include #define __GMENG_ALLOW_LOG__ true @@ -8,8 +10,10 @@ #include "../lib/bin/gmeng.h" #include "../lib/bin/src/renderer.cpp" +#if GMENG_SDL #include "../lib/bin/types/window.h" #include "../lib/bin/utils/window.cpp" +#endif #define g_sleep std::this_thread::sleep_for #define ms std::chrono::milliseconds