Fix windows builds by swapping windows.h and wincrypt.h ordering.

We need to include windows.h first even though it breaks default include ordering rules

llvm-svn: 284968
This commit is contained in:
Simon Pilgrim 2016-10-24 12:39:23 +00:00
parent 33bd5b235b
commit 6d2de6aa9e
1 changed files with 1 additions and 1 deletions

View File

@ -44,8 +44,8 @@
#include <cassert>
#include <string>
#include <system_error>
#include <wincrypt.h>
#include <windows.h>
#include <wincrypt.h> // FIXME: must be included after windows.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