diff options
| author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-10-24 12:39:23 +0000 |
|---|---|---|
| committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2016-10-24 12:39:23 +0000 |
| commit | 6d2de6aa9e6be3c852bc243cc869506bfb6b3f16 (patch) | |
| tree | a354997131c6555eb4da2a9f073911b14d4502b4 | |
| parent | 33bd5b235b33da3cccc0cabe823e005bb296a7a3 (diff) | |
| download | bcm5719-llvm-6d2de6aa9e6be3c852bc243cc869506bfb6b3f16.tar.gz bcm5719-llvm-6d2de6aa9e6be3c852bc243cc869506bfb6b3f16.zip | |
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
| -rw-r--r-- | llvm/lib/Support/Windows/WindowsSupport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Windows/WindowsSupport.h b/llvm/lib/Support/Windows/WindowsSupport.h index f4fad8c3067..563ea728621 100644 --- a/llvm/lib/Support/Windows/WindowsSupport.h +++ b/llvm/lib/Support/Windows/WindowsSupport.h @@ -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 |

