For now, last libjava alpha*-*-freebsd* configuration patch

Bryce McKinlay bryce@waitaki.otago.ac.nz
Tue Mar 26 06:14:00 GMT 2002


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.




More information about the Java-patches mailing list