diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/ChangeLog | 3 | ||||
| -rw-r--r-- | src/include/fake-addrinfo.h | 2 |
2 files changed, 5 insertions, 0 deletions
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 <raeburn@mit.edu> + * 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 |
