Avoid the deprecated GetVersionEx API
authorReid Kleckner <rnk@google.com>
Mon, 11 Jan 2016 23:33:03 +0000 (23:33 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 11 Jan 2016 23:33:03 +0000 (23:33 +0000)
commit4e5af8fec07665154fd7b290c4ce2ab16000eee3
tree8c5ea12f4ce6f0a5635c44c306de288f36e8be5d
parentf8f4df59dc4afa5478d3e307e9d5aa38e3946755
Avoid the deprecated GetVersionEx API

Apparently the preferred version is the incredibly complicated
VerifyVersionInfoW function.

Rename the function to avoid potential future name clashes.

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