Merge pull request #2228 from freiro/winver_fix

Move WINVER definition to cmake and a bit of cleanup
This commit is contained in:
Yuri Kunde Schlesner 2016-11-30 15:47:08 -08:00 committed by GitHub
commit 68c00ee771
2 changed files with 8 additions and 11 deletions

View file

@ -26,9 +26,6 @@
#define stat _stat64
#define fstat _fstat64
#define fileno _fileno
// Windows version, at least Vista is required to obtain AppData Path
#define WINVER 0x0600
#define _WIN32_WINNT 0x0600
#else
#ifdef __APPLE__
#include <sys/param.h>