]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix windows build.
authorNick Mathewson <nickm@torproject.org>
Wed, 1 Dec 2004 03:51:59 +0000 (03:51 +0000)
committerNick Mathewson <nickm@torproject.org>
Wed, 1 Dec 2004 03:51:59 +0000 (03:51 +0000)
svn:r3053

src/common/compat.c
src/common/fakepoll.c

index 029622b4d2934b934cd02388123d02a7518b95ff..e025bff20754a18f4f8e9c754500691de1bf0775 100644 (file)
@@ -8,6 +8,7 @@ const char compat_c_id[] = "$Id$";
 #define _GNU_SOURCE
 
 #include "orconfig.h"
+#include "fakepoll.h"
 #include "compat.h"
 
 #ifdef MS_WINDOWS
index 02be8c9d8f82b9439ee11f65dc4c9944663f09b3..19f5c1de31e1cefa974eaf772d5c692034f54e6e 100644 (file)
@@ -67,7 +67,7 @@ tor_poll(struct pollfd *ufds, unsigned int nfds, int timeout)
         for (idx = 0; idx < nfds; ++idx) {
                 ufds[idx].revents = 0;
                 fd = ufds[idx].fd;
-                tor_assert(SOCKET_SEEMS_POLLABLE(fd));
+                tor_assert(SOCKET_IS_POLLABLE(fd));
                 if (fd > maxfd) {
                   maxfd = fd;
 #ifdef MS_WINDOWS