From: Ken Raeburn Date: Tue, 26 Aug 2003 17:00:37 +0000 (+0000) Subject: * fake-addrinfo.h (inline): Supported by Sun Forte Developer 7 compiler X-Git-Tag: krb5-1.4-beta1~758 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aaad9f51b4d053192a1177082ce09b740c9b44e;p=thirdparty%2Fkrb5.git * fake-addrinfo.h (inline): Supported by Sun Forte Developer 7 compiler git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15791 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 58830ef5e1..1fa8e9eb69 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,5 +1,8 @@ 2003-08-26 Ken Raeburn + * fake-addrinfo.h (inline): Supported by Sun Forte Developer 7 + compiler. + * foreachaddr.c (foreach_localaddr) [HAVE_IFADDRS_H]: Skip over any returned data structure with a NULL ifa_addr field. diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h index 431ec82237..21e968cc2a 100644 --- a/src/include/fake-addrinfo.h +++ b/src/include/fake-addrinfo.h @@ -109,6 +109,8 @@ # define inline __inline__ /* this form silences -pedantic warnings */ # elif defined(__mips) && defined(__sgi) # define inline __inline /* IRIX used at MIT does inline but not c99 yet */ +# elif defined(__sun) && __SUNPRO_C >= 0x540 +/* The Forte Developer 7 C compiler supports "inline". */ # else # define inline /* nothing, just static */ # endif