From: Theodore Tso Date: Wed, 23 Oct 1996 00:18:35 +0000 (+0000) Subject: Change #ifdef sparc to #ifdef sun for more portability. X-Git-Tag: krb5-1.0-freeze1~184 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=293f427a513141dea7451956bb4c187f1dfc5f69;p=krb5.git Change #ifdef sparc to #ifdef sun for more portability. [PR#123] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9238 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/rpc/ChangeLog b/src/lib/rpc/ChangeLog index 68c0f227f..b3b643a3a 100644 --- a/src/lib/rpc/ChangeLog +++ b/src/lib/rpc/ChangeLog @@ -1,3 +1,9 @@ +Wed Oct 23 00:08:27 1996 Theodore Y. Ts'o + + * pmap_rmt.c: + * clnt_udp.c: Change #ifdef sparc to #ifdef sun for more portability. + [fixes PR#123] + Mon Oct 21 21:22:42 1996 Tom Yu * Makefile.in, configure.in: Fixes to work with new directory diff --git a/src/lib/rpc/clnt_udp.c b/src/lib/rpc/clnt_udp.c index 000b9683d..6a5cf5f11 100644 --- a/src/lib/rpc/clnt_udp.c +++ b/src/lib/rpc/clnt_udp.c @@ -41,7 +41,7 @@ static char sccsid[] = "@(#)clnt_udp.c 1.39 87/08/11 Copyr 1984 Sun Micro"; #include #include #include -#if defined(sparc) +#if defined(sun) #include #endif #include diff --git a/src/lib/rpc/pmap_rmt.c b/src/lib/rpc/pmap_rmt.c index 9dd922c8f..b740f5083 100644 --- a/src/lib/rpc/pmap_rmt.c +++ b/src/lib/rpc/pmap_rmt.c @@ -44,7 +44,7 @@ static char sccsid[] = "@(#)pmap_rmt.c 1.21 87/08/27 Copyr 1984 Sun Micro"; #include #include #include -#ifdef sparc +#ifdef sun #include #endif #include @@ -198,7 +198,7 @@ getbroadcastnets(addrs, sock, buf) addrs[i++].s_addr = INADDR_ANY; #if 0 /* this is uuuuugly */ addrs[i++] = inet_makeaddr(inet_netof -#if defined(hpux) || (defined(sparc) && defined(__svr4__)) || defined(linux) || (defined(__osf__) && defined(__alpha__)) +#if defined(hpux) || (defined(sun) && defined(__svr4__)) || defined(linux) || (defined(__osf__) && defined(__alpha__)) (sin->sin_addr), #else /* hpux or solaris */ (sin->sin_addr.s_addr),