This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: For now, last libjava alpha*-*-freebsd* configuration patch
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: rittle at labs dot mot dot com
- Cc: java-patches at gcc dot gnu dot org
- Date: Tue, 26 Mar 2002 22:52:34 +1200
- Subject: Re: For now, last libjava alpha*-*-freebsd* configuration patch
- References: <200203261016.g2QAGkb55091@latour.rsch.comm.mot.com>
Loren James Rittle wrote:
>Fails to bootstrap alpha*-*-freebsd[45]* without patch.
>
> * include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.
>
>
> #ifdef __alpha__
>
>+ #ifdef __FreeBSD__
>+ #include <machine/pal.h>
>+ #define PAL_rduniq PAL_rdunique
>+ #else
> #include <asm/pal.h>
>+ #endif
>
> typedef unsigned long _Jv_ThreadId_t;
>
>
We should really move this stuff out to a sysdeps header.... but for
now, this is fine.
regards
Bryce.