[vlc-devel] commit: WinCE: silence poll() warning in configure (Pierre Ynard )
git version control
git at videolan.org
Thu Aug 27 11:28:51 CEST 2009
vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Thu Aug 27 11:26:39 2009 +0200| [81211489a96d2c04c96bd37c08148777cd7259ea] | committer: Pierre Ynard
WinCE: silence poll() warning in configure
AFAIK vlc_poll() works with no problem on WinCE too
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=81211489a96d2c04c96bd37c08148777cd7259ea
---
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/configure.ac b/configure.ac
index ccfa330..ea357c3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -877,7 +877,7 @@ AC_CHECK_TYPE(ssize_t,, [
dnl Check for poll
AC_SEARCH_LIBS(poll, [poll], [AC_DEFINE(HAVE_POLL, 1, [Define to 1 if the OS is usabl... err, has poll().])], [
-if test ${SYS} != "mingw32"
+if test ${SYS} != "mingw32" -a test ${SYS} != "mingwce"
then
AC_MSG_WARN([Your platform does not support poll(). VLC has it's own poll() implementation, but it is only intended to be used on Windows. VLC might crash or be insecure when you see this message. Either switch to an OS with a proper poll() implementation, or implement one for your OS in VLC])
fi
More information about the vlc-devel
mailing list