]> git.sesse.net Git - ffmpeg/commit
configure: Check for GetStdHandle in addition to SetConsoleTextAttribute
authorMartin Storsjö <martin@martin.st>
Tue, 21 Jan 2020 12:47:57 +0000 (14:47 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 23 Jan 2020 16:30:09 +0000 (18:30 +0200)
commit63418e374fcf265bd4a8e79a655bacc96671a726
tree53b6a3f8fae0ad5a4ee485fc1b8bf25a48b6596d
parente3fb9af6f1353f30855eaa1cbd5befaf06e303b8
configure: Check for GetStdHandle in addition to SetConsoleTextAttribute

SetConsoleTextAttribute used to be unavailable for Windows Store apps,
but is available to them now. But GetStdHandle still is unavailable,
thus make sure to check for both functions before using code that
requires both.

Signed-off-by: Martin Storsjö <martin@martin.st>
configure
libavutil/log.c