]> git.sesse.net Git - vlc/commitdiff
configure.ac: Fix poll() presence check
authorHugo Beauzée-Luyssen <hugo@beauzee.fr>
Wed, 22 Oct 2014 12:10:30 +0000 (14:10 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Fri, 21 Nov 2014 17:42:11 +0000 (18:42 +0100)
poll isn't defined before vista, and we're building for windows XP

configure.ac

index 3d6a6cfb045a85dd9bad9265b6384335dc9739c1..6e25605e10633fd9242e8f6653f4ceb19305d2c5 100644 (file)
@@ -609,6 +609,7 @@ AC_CHECK_TYPES([struct pollfd],,,
 #if HAVE_POLL
 # include <poll.h>
 #elif defined (_WIN32)
+# define _WIN32_WINNT 0x502
 # include <winsock2.h>
 #endif
 ])