Use ::GetVersionEx directly rather than the Win8.1 SDK helpers
authorReid Kleckner <rnk@google.com>
Mon, 11 Jan 2016 20:35:45 +0000 (20:35 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 11 Jan 2016 20:35:45 +0000 (20:35 +0000)
commitb79da9cb4acd8a403107c7214afbcf74ffe1cd45
tree4d6a353a0798cb616a28b625b91399eb408cbd11
parent2133a4e140356e98decb933479f09e2545713d7a
Use ::GetVersionEx directly rather than the Win8.1 SDK helpers

This removes ifdefs and fixes the build for users of the Win8.0 SDK,
which I happen to be. Upgrading is not hard, but executing the same code
everywhere seems better.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257379 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Windows/WindowsSupport.h