Commit 41ba4575 authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Fix windows build.


svn:r3053
parent b457cfb5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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