On Mon, Nov 29, 2010 at 9:28 AM, Mr Dash Four
<mr.dash.f...@googlemail.com> wrote:
 [...]
> I will file a bug with Fedora because this needs to be fixed - as things
> stand now it won't work as event-config.h will get overwritten by whatever
> package was installed last which is plain wrong. Thanks for your input!

Ok.  FWIW for Fedora (and maybe for Linux in general) you can probably
get away with having the /usr/include/event2/event-config.h look
something like:


#ifndef _EVENT2_EVENT_CONFIG_WRAPPER_H
#define _EVENT2_EVENT_CONFIG_WRAPPER_H

#include <bits/wordsize.h>
#if __WORDSIZE == 64
#include <event2/event-config64.h>
#else
#include <event2/event-config32.h>
#endif

#endif

Though of course there may be better ways too.
-- 
Nick
***********************************************************************
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-users    in the body.

Reply via email to