From: Derrick Brashear Date: Thu, 28 Jan 2010 19:22:53 +0000 (-0500) Subject: irix cc defaults to pre-c99 X-Git-Tag: openafs-devel-1_5_71~11 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a340dc7981cb75cee66defd4cec5becdb4b7dfea;p=packages%2Fo%2Fopenafs.git irix cc defaults to pre-c99 no xdr labels for irix Change-Id: I4e1ca001d62a0a3d1f2f6ddef4b6419d1b2b2c13 Reviewed-on: http://gerrit.openafs.org/1174 Reviewed-by: Simon Wilkinson Reviewed-by: Derrick Brashear Tested-by: Derrick Brashear --- diff --git a/src/rx/xdr_rx.c b/src/rx/xdr_rx.c index 0aa7eed28..7a2ed7ee1 100644 --- a/src/rx/xdr_rx.c +++ b/src/rx/xdr_rx.c @@ -114,7 +114,7 @@ static AFS_RPC_INLINE_T *xdrrx_inline(AFS_XDRS_T axdrs, u_int len); * Ops vector for stdio type XDR */ static struct xdr_ops xdrrx_ops = { -#ifdef AFS_NT40_ENV +#if defined(AFS_NT40_ENV) || (defined(AFS_SGI_ENV) && !defined(__c99)) /* Windows does not support labeled assigments */ xdrrx_getint32, /* deserialize an afs_int32 */ xdrrx_putint32, /* serialize an afs_int32 */