[FFmpeg-cvslog] avutil/cpu: Use HAVE_UNISTD_H instead of HAVE_SYSCONF for #include < unistd.h>

Michael Niedermayer git at videolan.org
Tue Jul 8 03:03:28 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul  8 02:50:24 2014 +0200| [0ffba9feb649f9c5c286aa836635f3bdb2f70daa] | committer: Michael Niedermayer

avutil/cpu: Use HAVE_UNISTD_H instead of HAVE_SYSCONF for #include <unistd.h>

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0ffba9feb649f9c5c286aa836635f3bdb2f70daa
---

 libavutil/cpu.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/cpu.c b/libavutil/cpu.c
index 454326c..2d40211 100644
--- a/libavutil/cpu.c
+++ b/libavutil/cpu.c
@@ -40,7 +40,7 @@
 #include <sys/types.h>
 #include <sys/sysctl.h>
 #endif
-#if HAVE_SYSCONF
+#if HAVE_UNISTD_H
 #include <unistd.h>
 #endif
 



More information about the ffmpeg-cvslog mailing list