Update rcore.c
This commit is contained in:
parent
291063c98f
commit
13178b9373
19
src/rcore.c
19
src/rcore.c
@ -197,29 +197,12 @@ unsigned int __stdcall timeEndPeriod(unsigned int uPeriod);
|
||||
#define CHDIR _chdir
|
||||
#define MKDIR(dir) _mkdir(dir)
|
||||
#else
|
||||
#include <unistd.h> // Required for: getch(), chdir() (POSIX), access()
|
||||
#include <unistd.h> // Required for: getch(), chdir(), mkdir(), access()
|
||||
#define GETCWD getcwd
|
||||
#define CHDIR chdir
|
||||
#define MKDIR(dir) mkdir(dir, 0777)
|
||||
#endif
|
||||
|
||||
/*
|
||||
#if defined(_MSC_VER) && ((defined(WIN32) || defined(_WIN32) || defined(__WIN32)) && !defined(__CYGWIN__))
|
||||
//#include <direct.h> // Required for: _mkdir()
|
||||
//#define MKDIR(dir) _mkdir(dir)
|
||||
#elif defined __GNUC__
|
||||
#if defined(EMSCRIPTEN)
|
||||
#define MKDIR(dir) mkdir(dir, 0777)
|
||||
#elif 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
|
||||
*/
|
||||
|
||||
//----------------------------------------------------------------------------------
|
||||
// Defines and Macros
|
||||
//----------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user