[Mono-devel-list] Mono on AIX [Virus checked]

Bernie Solomon bernard at ugs.com
Tue Nov 30 17:46:22 EST 2004


I have indeed not been able to do much on mono recently
though hopefully sometime can get back to it. I didn't get
that far with AIX but did recall hitting these things too
so looked what I had done.

My solution to time.h was to have misc.c just include
both time.h and sys/time.h which should keep all platforms
happy (autoconf checks are another possibility).

For THREAD_* symbols the only clash I hit was THREAD_TERMINATE
and that is indeed not used anywhere. My quick fix
was an ifdef/undef before the mono definition (i.e. we lose the
AIX one if it exists).

Bernie

----- Original Message ----- 
From: "Dick Porter" <dick at ximian.com>
To: <mono-devel-list at lists.ximian.com>
Sent: Tuesday, November 30, 2004 9:27 AM
Subject: Re: [Mono-devel-list] Mono on AIX [Virus checked]


> On Tue, 2004-11-30 at 17:08 +0100,
> Winfried.Harbecke at Extern.Sparkassen-Informatik.de wrote:
> > In a strict
> > interpretation of POSIX,
> > the <sys/time.h> in mono/io-layer/misc.c is a bug,
> >
> >       http://www.opengroup.org/onlinepubs/009695399/basedefs/time.h.html
> >
> >       says:
> >             ... The <time.h> header shall declare the structure
timespec,
>
> Interesting.  The Linux man page for gettimeofday still says
> <sys/time.h>.  I'll fix that in the source.
>
> > The THREAD_* defines in mono/io-layer/misc.c are not being used anywhere
> > (except THREAD_ALL_ACCESS), it might make sense to reduce the potential
> > of name conflict by another prefix.
>
> Do you mean mono/io-layer/threads.h?  Those are part of the win32 API
> that io-layer is emulating so we can't really use another prefix, but as
> they aren't being used in the rest of mono we could easily just comment
> them out for now.
>
> - Dick
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>




More information about the Mono-devel-list mailing list