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