aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-29 13:16:23 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-29 13:16:23 -0700
commiteb6c65abc8d0566110def8f2afd5d2ed03f45c58 (patch)
treecc1f7ab8bd0581615e3689d3b487f0d3165a2618
parentaea362ab7007bc7fbf6487332cbe0e36d6fdd4ba (diff)
downloadvcpkg-eb6c65abc8d0566110def8f2afd5d2ed03f45c58.tar.gz
vcpkg-eb6c65abc8d0566110def8f2afd5d2ed03f45c58.zip
[pch.h] Put windows.h at the top to solve compilation errors
-rw-r--r--toolsrc/include/pch.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolsrc/include/pch.h b/toolsrc/include/pch.h
index 1306f3b21..2eee658c8 100644
--- a/toolsrc/include/pch.h
+++ b/toolsrc/include/pch.h
@@ -3,6 +3,8 @@
#define NOMINMAX
#define WIN32_LEAN_AND_MEAN
+#include <windows.h>
+
#include <algorithm>
#include <array>
#include <cassert>
@@ -33,5 +35,4 @@
#include <unordered_set>
#include <utility>
#include <vector>
-#include <windows.h>
#include <winhttp.h>