Commit ba5e63b3 authored by Joe Lee's avatar Joe Lee

Move Win32 definitions above includes

parent 71ae1719
......@@ -22,6 +22,12 @@
#if _WIN32
// For Unix implementation, see filesystem-disk-unix.c++.
// Request Vista-level APIs.
#define WINVER 0x0600
#define _WIN32_WINNT 0x0600
#define WIN32_LEAN_AND_MEAN // ::eyeroll::
#include "filesystem.h"
#include "debug.h"
#include "encoding.h"
......@@ -29,16 +35,6 @@
#include <algorithm>
#include <wchar.h>
// Request Vista-level APIs.
#define WINVER 0x0600
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT 0x0600
#define WIN32_LEAN_AND_MEAN // ::eyeroll::
#include <windows.h>
#include <winioctl.h>
#include "windows-sanity.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment