visualtest/config.h
author Ryan C. Gordon
Mon, 01 Jan 2018 19:16:51 -0500
changeset 11803 454f6dc9cb85
parent 7924 fcb86d323770
permissions -rw-r--r--
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 /* config.h.  Generated from config.h.in by configure.  */
     2 /* config.h.in.  Generated from configure.in by autoheader.  */
     3 
     4 /* Define to the address where bug reports for this package should be sent. */
     5 #define PACKAGE_BUGREPORT "apoorvupreti@gmail.com"
     6 
     7 /* Define to the full name of this package. */
     8 #define PACKAGE_NAME "sdlvisualtest"
     9 
    10 /* Define to the full name and version of this package. */
    11 #define PACKAGE_STRING "sdlvisualtest 0.01"
    12 
    13 /* Define to the one symbol short name of this package. */
    14 #define PACKAGE_TARNAME "sdlvisualtest"
    15 
    16 /* Define to the home page for this package. */
    17 #define PACKAGE_URL ""
    18 
    19 /* Define to the version of this package. */
    20 #define PACKAGE_VERSION "0.01"
    21 
    22 /* Define to empty if `const' does not conform to ANSI C. */
    23 /* #undef const */