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.
icculus@7924
     1
/* config.h.  Generated from config.h.in by configure.  */
icculus@7924
     2
/* config.h.in.  Generated from configure.in by autoheader.  */
icculus@7924
     3
icculus@7924
     4
/* Define to the address where bug reports for this package should be sent. */
icculus@7924
     5
#define PACKAGE_BUGREPORT "apoorvupreti@gmail.com"
icculus@7924
     6
icculus@7924
     7
/* Define to the full name of this package. */
icculus@7924
     8
#define PACKAGE_NAME "sdlvisualtest"
icculus@7924
     9
icculus@7924
    10
/* Define to the full name and version of this package. */
icculus@7924
    11
#define PACKAGE_STRING "sdlvisualtest 0.01"
icculus@7924
    12
icculus@7924
    13
/* Define to the one symbol short name of this package. */
icculus@7924
    14
#define PACKAGE_TARNAME "sdlvisualtest"
icculus@7924
    15
icculus@7924
    16
/* Define to the home page for this package. */
icculus@7924
    17
#define PACKAGE_URL ""
icculus@7924
    18
icculus@7924
    19
/* Define to the version of this package. */
icculus@7924
    20
#define PACKAGE_VERSION "0.01"
icculus@7924
    21
icculus@7924
    22
/* Define to empty if `const' does not conform to ANSI C. */
icculus@7924
    23
/* #undef const */