mirror of
https://github.com/NoelFB/blah.git
synced 2025-04-06 00:26:05 +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 <blah/core/time.h>
|
||||||
|
|
||||||
#include <SDL.h>
|
#include <SDL.h>
|
||||||
#include <SDL_syswm.h>
|
|
||||||
|
|
||||||
#if _WIN32
|
#if _WIN32
|
||||||
|
#include <SDL_syswm.h>
|
||||||
// on Windows we're using the C++ <filesystem> API for now
|
// on Windows we're using the C++ <filesystem> API for now
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
@ -25,6 +25,7 @@ namespace fs = std::filesystem;
|
|||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <dirent.h>
|
#include <dirent.h>
|
||||||
|
#include <cstring>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace Blah;
|
using namespace Blah;
|
||||||
|
Loading…
Reference in New Issue
Block a user