aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2020-01-21 14:47:57 +0200
committerMartin Storsjö <martin@martin.st>2020-01-23 18:30:09 +0200
commit63418e374fcf265bd4a8e79a655bacc96671a726 (patch)
tree53b6a3f8fae0ad5a4ee485fc1b8bf25a48b6596d /configure
parente3fb9af6f1353f30855eaa1cbd5befaf06e303b8 (diff)
downloadffmpeg-63418e374fcf265bd4a8e79a655bacc96671a726.tar.gz
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 1f3d0fdd4b..c02dbcc8b2 100755
--- a/configure
+++ b/configure
@@ -2201,6 +2201,7 @@ SYSTEM_FUNCS="
GetProcessMemoryInfo
GetProcessTimes
getrusage
+ GetStdHandle
GetSystemTimeAsFileTime
gettimeofday
glob
@@ -6040,6 +6041,7 @@ check_func_headers sys/stat.h lstat
check_func_headers windows.h GetModuleHandle
check_func_headers windows.h GetProcessAffinityMask
check_func_headers windows.h GetProcessTimes
+check_func_headers windows.h GetStdHandle
check_func_headers windows.h GetSystemTimeAsFileTime
check_func_headers windows.h LoadLibrary
check_func_headers windows.h MapViewOfFile