summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Windows
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Support/Windows')
-rw-r--r--llvm/lib/Support/Windows/WindowsSupport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/WindowsSupport.h b/llvm/lib/Support/Windows/WindowsSupport.h
index 98995e8eda1..d4599dca044 100644
--- a/llvm/lib/Support/Windows/WindowsSupport.h
+++ b/llvm/lib/Support/Windows/WindowsSupport.h
@@ -44,9 +44,11 @@
#include <cassert>
#include <string>
#include <system_error>
-#include <wincrypt.h> // Must be included after windows.h
#include <windows.h>
+// Must be included after windows.h
+#include <wincrypt.h>
+
/// Determines if the program is running on Windows 8 or newer. This
/// reimplements one of the helpers in the Windows 8.1 SDK, which are intended
/// to supercede raw calls to GetVersionEx. Old SDKs, Cygwin, and MinGW don't
OpenPOWER on IntegriCloud