[PATCH 2/2] Fix Ada on GNU/kFreeBSD

Arnaud Charlet charlet@adacore.com
Tue Apr 1 12:58:00 GMT 2008


> Please find a patch below to fix Ada on GNU/kFreeBSD. It basically 
> enables some parts that are enabled only with a Linux kernel, while
> they are actually GNU libc specific. Please note that the test on
> __linux__ has not been removed to make sure this patch breaks nothing.
> 
> 2008-04-01  Aurelien Jarno  <aurelien@aurel32.net>
> 
>         * sysdep.c: add __GLIBC__ to the #ifdef preprocessor macros to
> 	detect systems using GNU libc.
> 
> 	* gsocket.h: ditto.
> 
> 	* socket.c: ditto.
> 	
> 	* adaint.c: ditto.
> 
> 	* link.c: ditto.

This patch is OK.



More information about the Gcc-patches mailing list