1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

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 6b2a0c490c
commit 91d9789697

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