From: Chaz Chandler Date: Tue, 9 Feb 2010 01:59:10 +0000 (-0500) Subject: irix label changes rx subdir X-Git-Tag: openafs-devel-1_5_72~33 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=267c22e77197ebeed1a4d61041a60cd99dac7dcd;p=packages%2Fo%2Fopenafs.git irix label changes rx subdir no label support in non-c99 irix cc, xdr_len.c and xdr_mem.c changed accordingly Change-Id: I9f9780254cd7e80649d40b3df6bcdd84a2f90404 modified: src/rx/xdr_len.c modified: src/rx/xdr_mem.c Reviewed-on: http://gerrit.openafs.org/1266 Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/rx/xdr_len.c b/src/rx/xdr_len.c index 69fe3552d..f226f5433 100644 --- a/src/rx/xdr_len.c +++ b/src/rx/xdr_len.c @@ -87,7 +87,7 @@ xdrlen_inline(AFS_XDRS_T axdrs, u_int len) } static struct xdr_ops xdrlen_ops = { -#ifdef AFS_NT40_ENV +#if defined(AFS_NT40_ENV) || (defined(AFS_SGI_ENV) && !defined(__c99)) /* Windows does not support labeled assigments */ xdrlen_getint32, /* not supported */ xdrlen_putint32, /* serialize an afs_int32 */ diff --git a/src/rx/xdr_mem.c b/src/rx/xdr_mem.c index 2608b2a07..483de0c5a 100644 --- a/src/rx/xdr_mem.c +++ b/src/rx/xdr_mem.c @@ -61,7 +61,7 @@ static afs_int32 *xdrmem_inline(AFS_XDRS_T, u_int); static void xdrmem_destroy(AFS_XDRS_T); static struct xdr_ops xdrmem_ops = { -#ifdef AFS_NT40_ENV +#if defined(AFS_NT40_ENV) || (defined(AFS_SGI_ENV) && !defined(__c99)) /* Windows does not support labeled assigments */ xdrmem_getint32, /* deserialize an afs_int32 */ xdrmem_putint32, /* serialize an afs_int32 */