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