[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] compiling 1.4.12 on HP-UX 11.31



Nick Mathewson wrote:
> On Mon, Nov 02, 2009 at 01:29:28PM -0600, Kathryn Hogg wrote:
>  [...]
>> if I take out the -I./compat it compiles fine.  Of course this causes
>> problems when compiling the real source code as it needs
>> compat/sys/queue.h  so I just removed compat/sys/_time.h for the HPUX
>> 11.31 build.
>
> Hm!  It sounds like the HP headers have their own
> /usr/include/sys/_time.h that is included (directly or indirectly) by
> /usr/include/time.h.  Can you confirm this?

That is what I was trying to say.

If that's the case, it
> appears that our compat/sys/_time.h is hiding it.
>
> And if _that's_ so, we should probably rename sys/_time.h, or just
> subsume its functionality into util-internal.h.

For now, when compiling on hpux 11.31, I am compiling with -DHPUX_11_31
and modified the libevent compat/sys/_time.h to wrap the system one:


#if defined(HPUX_11_31)
#include </usr/include/sys/_time.h>
#else
<snip>
#endif

-- 
Kathryn
http://womensfooty.com
National Team Donation - http://womensfooty.com/freedom/donate
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.