projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
980e65f
)
log: Only include unistd.h if configure found it
author
Martin Storsjö
<martin@martin.st>
Sat, 23 Jun 2012 16:21:35 +0000
(19:21 +0300)
committer
Martin Storsjö
<martin@martin.st>
Sun, 24 Jun 2012 09:36:22 +0000
(12:36 +0300)
MSVC has isatty (in io.h), but not unistd.h. (isatty isn't called
at all for windows, since there's a special case block for that.)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavutil/log.c
patch
|
blob
|
history
diff --git
a/libavutil/log.c
b/libavutil/log.c
index
e4a9fec
..
e2773d4
100644
(file)
--- a/
libavutil/log.c
+++ b/
libavutil/log.c
@@
-26,7
+26,7
@@
#include "config.h"
-#if HAVE_
ISATTY
+#if HAVE_
UNISTD_H
#include <unistd.h>
#endif
#include <stdlib.h>