From 4aaad9f51b4d053192a1177082ce09b740c9b44e Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 26 Aug 2003 17:00:37 +0000 Subject: [PATCH] * 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 --- src/include/ChangeLog | 3 +++ src/include/fake-addrinfo.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 58830ef5e..1fa8e9eb6 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 431ec8223..21e968cc2 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 -- 2.26.2