+2009-02-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
+
+ * s-oscons-tmplt.c [__osf__ && !_SS_MAXSIZE]: Undef AF_UNIX6.
+
2009-02-18 H.J. Lu <hongjiu.lu@intel.com>
* gcc-interface/misc.c (gnat_post_options): Turn off warn_psabi.
-- --
-- S p e c --
-- --
--- Copyright (C) 2000-2008, Free Software Foundation, Inc. --
+-- Copyright (C) 2000-2009, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
# undef AF_INET6
#endif
+/**
+ ** Tru64 UNIX V4.0F defines AF_INET6 without IPv6 support, specificially
+ ** without struct sockaddr_in6. We use _SS_MAXSIZE (used for the definition
+ ** of struct sockaddr_storage on Tru64 UNIX V5.1) to detect this.
+ **/
+#if defined(__osf__) && !defined(_SS_MAXSIZE)
+# undef AF_INET6
+#endif
+
#ifndef AF_INET6
# define AF_INET6 -1
#else