]> git.ipfire.org Git - thirdparty/gcc.git/commit
socket.c, [...] (__gnat_inet_pton): Needs to be enabled for HP-UX as well...
authorThomas Quinot <quinot@adacore.com>
Mon, 20 Apr 2009 10:45:28 +0000 (10:45 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Mon, 20 Apr 2009 10:45:28 +0000 (12:45 +0200)
commit2907036db71b583f6a7c627e1e1753e85c779312
treeabccfec98396bda557b30cfec0ba8b9cbd863c15
parentd50633515b970d72c074e5face5eecf2dd3fa74a
socket.c, [...] (__gnat_inet_pton): Needs to be enabled for HP-UX as well...

2009-04-20  Thomas Quinot  <quinot@adacore.com>

* socket.c, g-socthi-vms.adb, g-socthi-vms.ads, g-socthi-vxworks.ads,
s-oscons-tmplt.c, gsocket.h, g-socthi-mingw.ads, g-socthi.ads,
g-sothco.ads (__gnat_inet_pton): Needs to be enabled for HP-UX as well,
since HP-UX supports neither inet_aton nor inet_pton (altough the
latter is part of the Single UNIX Specification!).
So reorganize code, and share C implementation based on inet_addr(3)
with VMS (instead of having a VMS specific Ada implementation in
g-socthi-vms.adb).

From-SVN: r146396
gcc/ada/ChangeLog
gcc/ada/g-socthi-mingw.ads
gcc/ada/g-socthi-vms.adb
gcc/ada/g-socthi-vms.ads
gcc/ada/g-socthi-vxworks.ads
gcc/ada/g-socthi.ads
gcc/ada/g-sothco.ads
gcc/ada/gsocket.h
gcc/ada/s-oscons-tmplt.c
gcc/ada/socket.c