mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-11 05:44:15 -05:00
mingw: fix redeclared stat/fstat
This commit is contained in:
parent
bfea29cd33
commit
372d35b033
|
|
@ -7,6 +7,9 @@
|
|||
#include <optional>
|
||||
#endif
|
||||
#include <string>
|
||||
#ifdef __MINGW32__
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
|
|
@ -27,8 +30,10 @@
|
|||
#define fseeko _fseeki64
|
||||
#define ftello _ftelli64
|
||||
#define atoll _atoi64
|
||||
#ifndef __MINGW32__
|
||||
#define stat _stat64
|
||||
#define fstat _fstat64
|
||||
#endif
|
||||
#define fileno _fileno
|
||||
|
||||
extern "C" {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user