Update rcore.c
This commit is contained in:
parent
55a25ac04b
commit
100f6624d6
10
src/rcore.c
10
src/rcore.c
@ -205,9 +205,13 @@ unsigned int __stdcall timeEndPeriod(unsigned int uPeriod);
|
||||
#include <direct.h> // Required for: _mkdir()
|
||||
#define MKDIR(dir) _mkdir(dir)
|
||||
#elif defined __GNUC__
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h> // Required for: mkdir()
|
||||
#define MKDIR(dir) mkdir(dir) // OLD: mkdir(dir, 0777) -> w64devkit complaints!
|
||||
#if defined(__linux__)
|
||||
#define MKDIR(dir) mkdir(dir, 0777);
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h> // Required for: mkdir()
|
||||
#define MKDIR(dir) _mkdir(dir) // OLD: mkdir(dir, 0777) -> w64devkit complaints!
|
||||
#endif
|
||||
#endif
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user