visualtest/COPYING.txt
author Ryan C. Gordon
Mon, 01 Jan 2018 19:16:51 -0500
changeset 11803 454f6dc9cb85
parent 10737 3406a0f8b041
permissions -rwxr-xr-x
windows: Remove references to GetVersionExA (thanks, Andrew Pilley!).

"GetVersionExA is deprecated in windows 8.1 and above's SDK, causing a warning
when building against the win10 SDK. Attached patch cleans up the usage for a
warning-free build.

GetVersionExA was being used to test to see if SDL was running on win9x or
winnt. A quick chat with Ryan on twitter suggested that SDL doesn't
officially support win9x anymore, so the call to this can be outright removed.

As an aside, replacing the call to GetVersionExA with VerifyVersionInfoA (the
recommended path) would have been pointless, as VerifyVersionInfoA only
supports VER_PLATFORM_WIN32_NT and doesn't officially support any other value
for dwPlatformId currently. (And it's probable that win9x SDKs didn't have
VerifyVersionInfo* in them anyway.)"

Fixes Bugzilla #4019.
     1 Visual and Interactive Test Automation for SDL 2.0
     2 Copyright (C) 2013 Apoorv Upreti <apoorvupreti@gmail.com>
     3 
     4 This software is provided 'as-is', without any express or implied
     5 warranty.  In no event will the authors be held liable for any damages
     6 arising from the use of this software.
     7 
     8 Permission is granted to anyone to use this software for any purpose,
     9 including commercial applications, and to alter it and redistribute it
    10 freely, subject to the following restrictions:
    11 
    12 1. The origin of this software must not be misrepresented; you must not
    13    claim that you wrote the original software. If you use this software
    14    in a product, an acknowledgment in the product documentation would be
    15    appreciated but is not required.
    16 2. Altered source versions must be plainly marked as such, and must not be
    17    misrepresented as being the original software.
    18 3. This notice may not be removed or altered from any source distribution.