[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] patch to released 2.0.4 for Windows
- To: libevent-users@xxxxxxxxxxxxx
- Subject: Re: [Libevent-users] patch to released 2.0.4 for Windows
- From: Nick Mathewson <nickm@xxxxxxxxxxxxx>
- Date: Thu, 11 Mar 2010 13:48:03 -0500
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: libevent-users-outgoing@xxxxxxxx
- Delivered-to: libevent-users@xxxxxxxx
- Delivery-date: Thu, 11 Mar 2010 13:48:10 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type; bh=D5XvaW9xsoSYE1i0rL3r/wqceVk08zBC/X19pZw9nqk=; b=njpox38PNVXQlAoxQGu9Wi8vmaecHVyaoFxglFPbXmdL6l8rYbzJ22cJylXa+I21wr su5w9yTU0kQSGg1anGNoYiLabGnMD5Mlw4RSGxTYeKYVjeaaoJVgGJkgmgIKnWah+u9x LSiAFPNr/uWMipkeY6rW0mOWZk0tXwj18PTtc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=EEkDFHiaM/SHjlKPJM+NBda/8H4kPjW/wZDVfegBT/p9YoK/w2C649bf3qPH46uvjb 80BOO1Q7NrYiTUvRocr16wmnO6m2101weVWKeFxItz7NrWAcQRGnPbd9PvqIjdtgpS+j EjtuC9dQba7/tYuEn8KfXOJaoy++E2LQo+uAw=
- In-reply-to: <4B9936E6.7020703@xxxxxxxx>
- References: <4B9936E6.7020703@xxxxxxxx>
- Reply-to: libevent-users@xxxxxxxxxxxxx
- Sender: owner-libevent-users@xxxxxxxxxxxxx
On Thu, Mar 11, 2010 at 1:31 PM, Patrick Galbraith <patg@xxxxxxxx> wrote:
> Hi there! I have a patch for 2.0.4 in order to compile on Windows (tested on
> Windows 2008 64-bit), if not already addressed. Small issue. See attached.
>
The select.c backend is not for Windows; it will not work there, even
if you make it compile. (It assumes that the fdset type is
implemented as a bitfield, as it is on non-Windows platforms.)
Windows uses win32select.c instead.
Are you building with mingw, with the nmake Makefile, or with your own
project files or something? If it's one of the first two, select.c
shouldn't get built on win32; that's the bug there. If it's the
latter, please have a look at the nmake Makefile for a list of the C
modules that should build on Windows.
hth,
--
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.