summaryrefslogtreecommitdiff
path: root/src/app.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/app.h')
-rw-r--r--src/app.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/app.h b/src/app.h
index c7101ae..488f681 100644
--- a/src/app.h
+++ b/src/app.h
@@ -4,6 +4,12 @@
#include <SDL3/SDL.h>
#include <SDL3_mixer/SDL_mixer.h>
+#ifndef SDL_PLATFORM_WINDOWS
+#define DIRSEP "/"
+#else
+#define DIRSEP "\\"
+#endif
+
typedef enum {
menu_state,
game_state