mksysinfo.sh: Define Solaris zone_net_addr_t struct.
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 8 Apr 2015 14:17:13 +0000 (14:17 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 8 Apr 2015 14:17:13 +0000 (14:17 +0000)
From Rainer Orth.

From-SVN: r221920

libgo/mksysinfo.sh

index a977f56937b24d8584b0ba2065610b6b8e608f1a..c2e7c24974a603c77ef0bb7397c4984a35b2f553 100755 (executable)
@@ -1273,4 +1273,9 @@ if ! grep 'const SizeofICMPv6Filter ' ${OUT} >/dev/null 2>&1; then
     echo 'const SizeofICMPv6Filter = 32' >> ${OUT}
 fi
 
+# The Solaris 11 Update 1 _zone_net_addr_t struct.
+grep '^type _zone_net_addr_t ' gen-sysinfo.go | \
+    sed -e 's/_in6_addr/[16]byte/' \
+    >> ${OUT}
+
 exit $?