configure: Don't force _WIN32_WINNT to 0x0601 if it is set to a higher version
commit255e2ce27954004b8e6aa65ed37266c422f08a58
authorMartin Storsjö <martin@martin.st>
Wed, 11 Jul 2018 19:24:06 +0000 (11 22:24 +0300)
committerMartin Storsjö <martin@martin.st>
Wed, 11 Jul 2018 20:40:51 +0000 (11 23:40 +0300)
treeca177051b87b2fe71a14fadde4c697f17f3e1ccf
parent4f7f76348b8d31f9f1eb350a4d83034672466d3e
configure: Don't force _WIN32_WINNT to 0x0601 if it is set to a higher version

Since e807c8e91, we're explicitly unconditionally defining _WIN32_WINNT,
regardless if it was set before or not.

If it was set before (e.g. on the command line), to a higher version,
we should honor that.

This is cruicial for WinRT building, where _WIN32_WINNT is set to Windows
8 or higher on the command line.
configure.ac