[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] can libevent-devel for x86_64 and i686 coexist on a x86_64 machine?
On Mon, Nov 29, 2010 at 9:28 AM, Mr Dash Four
<mr.dash.four@xxxxxxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.