summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-11-30 16:56:57 +0200
committerMartin Storsjö <martin@martin.st>2012-11-30 16:56:57 +0200
commit7e6a11bcf71777ea54a32916411bcebed0e90842 (patch)
tree6a22fb0b26a493530f6fd4dc91cf082442e1370e /configure
parentb70abd5b614341947ce7d81c1de97877dec5f35e (diff)
avutil: Use a configure check to enable windows console functions
Not all versions or API subsets of windows have these functions. 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 5e1be338b3..38f49e082c 100755
--- a/configure
+++ b/configure
@@ -1242,6 +1242,7 @@ HAVE_LIST="
sched_getaffinity
sdl
sdl_video_size
+ SetConsoleTextAttribute
setmode
setrlimit
Sleep
@@ -3305,6 +3306,7 @@ check_func_headers windows.h GetProcessAffinityMask
check_func_headers windows.h GetProcessTimes
check_func_headers windows.h GetSystemTimeAsFileTime
check_func_headers windows.h MapViewOfFile
+check_func_headers windows.h SetConsoleTextAttribute
check_func_headers windows.h Sleep
check_func_headers windows.h VirtualAlloc