re PR ada/33688 (Ada package Gnat.Sockets missing constant for IP_PKTINFO (patch))

PR ada/33688
	* g-soccon-darwin.ads: Define new constant IP_PKTINFO.

From-SVN: r133814
This commit is contained in:
John David Anglin 2008-04-02 01:02:58 +00:00 committed by John David Anglin
parent b739176e59
commit 51e5c7b5ad
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2008-04-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR ada/33688
* g-soccon-darwin.ads: Define new constant IP_PKTINFO.
PR ada/33857
* env.c: Always include crt_externs.h if __APPLE__ is defined.
(__gnat_setenv): Use setenv instead of putenv if __APPLE__ is defined.

View File

@ -163,6 +163,7 @@ package GNAT.Sockets.Constants is
IP_MULTICAST_LOOP : constant := 11; -- Set/get mcast loopback
IP_ADD_MEMBERSHIP : constant := 12; -- Join a multicast group
IP_DROP_MEMBERSHIP : constant := 13; -- Leave a multicast group
IP_PKTINFO : constant := -1; -- Get datagram info
-------------------
-- System limits --