diff options
| author | Menase Teshale <osome3717@gmail.com> | 2026-09-19 16:06:47 +0300 |
|---|---|---|
| committer | Menase Teshale <osome3717@gmail.com> | 2026-09-19 16:06:47 +0300 |
| commit | 6a2705f073114a7b4227c92a3c8a89e47985f547 (patch) | |
| tree | fffe1dfff3312c3b4273e3a57ecd60d7c2b250be /src/app.h | |
| parent | af1e4f1d6c47498a590bd64428163a6b9dbca385 (diff) | |
Fixed file path issue on windows
Diffstat (limited to 'src/app.h')
| -rw-r--r-- | src/app.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |
