mirror of https://github.com/mgba-emu/mgba.git
Updater: Fix MSVC build
This commit is contained in:
parent
9742722213
commit
4ca8ffe3f4
|
@ -21,6 +21,9 @@
|
||||||
#include <synchapi.h>
|
#include <synchapi.h>
|
||||||
|
|
||||||
#define mkdir(X, Y) _mkdir(X)
|
#define mkdir(X, Y) _mkdir(X)
|
||||||
|
#ifndef S_ISDIR
|
||||||
|
#define S_ISDIR(MODE) (((MODE) & _S_IFMT) == _S_IFDIR)
|
||||||
|
#endif
|
||||||
#elif defined(_POSIX_C_SOURCE)
|
#elif defined(_POSIX_C_SOURCE)
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue