Commit 51e5c7b5 by John David Anglin Committed by John David Anglin

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
parent b739176e
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.
......@@ -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 --
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment