]> git.sesse.net Git - vlc/commitdiff
WinCE: silence poll() warning in configure
authorPierre Ynard <linkfanel@yahoo.fr>
Thu, 27 Aug 2009 09:26:39 +0000 (11:26 +0200)
committerPierre Ynard <linkfanel@yahoo.fr>
Thu, 27 Aug 2009 09:26:39 +0000 (11:26 +0200)
AFAIK vlc_poll() works with no problem on WinCE too

configure.ac

index ccfa3303f990b41183cb6223607451c7a6db8ad8..ea357c319a89befeb7e4775660264a5df1fa524d 100644 (file)
@@ -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