(__SOCKADDR_ARG): Always use non-GCC defn, for now.

This commit is contained in:
Roland McGrath 1994-10-14 02:07:57 +00:00
parent 7ca129da4e
commit 0d6578b0d8
1 changed files with 8 additions and 4 deletions

View File

@ -110,11 +110,15 @@ struct sockaddr
char sa_data[14]; /* Address data. */
};
/* This is the type we use for generic socket address arguments. With GCC 2.6
and later, the funky union causes redeclarations or uses with any of the
listed types to be allowed without complaint. */
/* This is the type we use for generic socket address arguments.
NOTE: Since this functionality is volatile, I'm disabling the use of it for
now.
With GCC 2.6 and later, the funky union causes redeclarations or uses with
any of the listed types to be allowed without complaint. */
#if (!defined (__GNUC__) || __GNUC__ < 2 || \
(__GNUC__ == 2 && __GNUC_MINOR__ < 6))
/*(__GNUC__ == 2 && __GNUC_MINOR__ < 6)*/ 1)
#define __SOCKADDR_ARG struct sockaddr *
#else
/* Bring these names into being at top-level scope, in case they have not been