diff options
author | Erik Andersen <andersen@codepoet.org> | 2000-05-14 06:07:31 +0000 |
---|---|---|
committer | Erik Andersen <andersen@codepoet.org> | 2000-05-14 06:07:31 +0000 |
commit | c3a27f5095a50bef9e56f19eeed1176319e189e2 (patch) | |
tree | 80804af6dd3e113d1a37cd648a5b50fdd26b78f0 /libc/inet/rpc/clnt_generic.c | |
parent | e9efa23ae121c8976e5dc2bbcf29e029b5087e76 (diff) |
Some makefile updates to make it behave a bit better/consistently.
-Erik
Diffstat (limited to 'libc/inet/rpc/clnt_generic.c')
-rw-r--r-- | libc/inet/rpc/clnt_generic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/rpc/clnt_generic.c b/libc/inet/rpc/clnt_generic.c index 9124ccf16..fabcc2b32 100644 --- a/libc/inet/rpc/clnt_generic.c +++ b/libc/inet/rpc/clnt_generic.c @@ -70,12 +70,12 @@ clnt_create(hostname, prog, vers, proto) rpc_createerr.cf_error.re_errno = EAFNOSUPPORT; return (NULL); } -#ifdef linux +#ifdef __linux__ bzero((char *) &sin, sizeof(sin)); #endif sin.sin_family = h->h_addrtype; sin.sin_port = 0; -#ifndef linux +#ifndef __linux__ bzero(sin.sin_zero, sizeof(sin.sin_zero)); #endif bcopy(h->h_addr, (char*)&sin.sin_addr, h->h_length); |