Windows Fixes

This commit is contained in:
Jack Andersen 2016-10-19 14:51:38 -10:00
parent 829685a291
commit 39c1e735e2
2 changed files with 3 additions and 0 deletions

View File

@ -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>

View File

@ -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