Windows compatibility fixes

This commit is contained in:
2021-05-26 14:17:07 +02:00
parent 49bceafe0b
commit 19c29b261c
6 changed files with 37 additions and 17 deletions
+5
View File
@@ -4,8 +4,13 @@
#include "global_vars.hpp"
#include "../sdlpp/sdlpp_mouse.hpp"
#ifndef _WIN32
#include <SDL2/SDL_events.h>
#include <SDL2/SDL_mouse.h>
#else
#include "../sdlpp/SDL2/SDL_events.h"
#include "../sdlpp/SDL2/SDL_mouse.h"
#endif
#include <thread>
constexpr uint64_t MAIN_MENU_RESUME = 0;