[PATCH] Fix Ada bootstrap for Darwin9 and earlier.

Eric Botcazou ebotcazou@adacore.com
Sun Dec 23 15:05:00 GMT 2018


> 	* 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



More information about the Gcc-patches mailing list