contrib: flac: Don't force __MSVCRT_VERSION__ to a specific (old) version
authorMartin Storsjö <martin@martin.st>
Thu, 14 Dec 2017 21:42:21 +0000 (23:42 +0200)
committerMartin Storsjö <martin@martin.st>
Mon, 26 Feb 2018 09:15:27 +0000 (11:15 +0200)
commit44736e0a50738ece67d154f1c338b1389c2064b1
tree15e0468906630c90ec3d97cb6fda74a751a16964
parent18de5f37f1dd524705c2839b1ff3a05b92abe069
contrib: flac: Don't force __MSVCRT_VERSION__ to a specific (old) version

The forcing of this define was added upstream many years ago, probably
to expose certain features that aren't available by default in the old
mingw.org headers. In mingw-w64, setting __MSVCRT_VERSION__ doesn't
expose much new functionality at all (contrary to in mingw.org), and
the default in mingw-w64 is 0x0700.

Therefore, since we're using mingw-w64 anyway, don't force this version
but just use whatever the toolchain default is, assuming the default
is new enough.

This fixes building with mingw-w64 with the default msvcrt set to
ucrtbase.
contrib/src/flac/dont-force-msvcrt-version.patch [new file with mode: 0644]
contrib/src/flac/rules.mak