mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-25 16:18:57 +08:00
fixed a few SDL2 platform details for compiling on non-windows
This commit is contained in:
parent
60f3939ff7
commit
fb91b77900
|
@ -10,9 +10,9 @@
|
|||
#include <blah/core/time.h>
|
||||
|
||||
#include <SDL.h>
|
||||
#include <SDL_syswm.h>
|
||||
|
||||
#if _WIN32
|
||||
#include <SDL_syswm.h>
|
||||
// on Windows we're using the C++ <filesystem> API for now
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
|
@ -25,6 +25,7 @@ namespace fs = std::filesystem;
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <dirent.h>
|
||||
#include <cstring>
|
||||
#endif
|
||||
|
||||
using namespace Blah;
|
||||
|
|
Loading…
Reference in New Issue
Block a user