Skip to content

Commit

Permalink
SDL var check
Browse files Browse the repository at this point in the history
  • Loading branch information
catriverr committed Sep 3, 2024
1 parent d89c851 commit 082e523
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#if GMENG_SDL
#include "SDL2/SDL.h"
#endif
#include <chrono>
#include <ostream>
#define __GMENG_ALLOW_LOG__ true
Expand All @@ -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
Expand Down

0 comments on commit 082e523

Please sign in to comment.