mirror of https://github.com/libAthena/athena.git
Windows Fixes
This commit is contained in:
parent
829685a291
commit
39c1e735e2
|
@ -2,7 +2,9 @@
|
|||
#define FILESTREAM_HPP
|
||||
|
||||
#if _WIN32
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <stdio.h>
|
||||
|
|
|
@ -53,6 +53,7 @@ typedef struct stat atStat64_t;
|
|||
#define atStat64 stat
|
||||
#elif _WIN32
|
||||
typedef struct _stat64 atStat64_t;
|
||||
#define atStat64 _stat64
|
||||
#elif __APPLE__ || __FreeBSD__
|
||||
typedef struct stat atStat64_t;
|
||||
#define atStat64 stat
|
||||
|
|
Loading…
Reference in New Issue