This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix Ada bootstrap for Darwin9 and earlier.
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: Iain Sandoe <iain at sandoe dot co dot uk>
- Cc: gcc-patches at gcc dot gnu dot org, derodat at adacore dot com
- Date: Sun, 23 Dec 2018 13:27:02 +0100
- Subject: Re: [PATCH] Fix Ada bootstrap for Darwin9 and earlier.
- References: <47A1758D-86A8-414F-B76A-502A0FE68362@sandoe.co.uk>
> * adaint.c (__gnat_lwp_self): Ensure that the system interface used
> is available on the target.
OK for all active branches, modulo the couple of following nits:
The ChangeLog must make it clear that this is for Darwin only:
* adaint.c [__APPLE__] (__gnat_lwp_self): Ensure that the system
interface used is available on the target.
> +#else
> + return (void *)pthread_mach_thread_np (pthread_self ());
> +#endif
Wrong indentation.
--
Eric Botcazou