1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

tt_xdr_utils.h: fix build error on linux/bsd introduced with illumos initial patch.

The linux's and BSD's need the 'struct XDR::xdr_ops ops' declaration,
whereas I guess sun does not.
This commit is contained in:
Jon Trulson 2014-03-22 16:54:24 -06:00
parent 468d576030
commit ddb4933039

View file

@ -55,7 +55,11 @@ class _Tt_xdr_size_stream : public _Tt_allocated {
#ifdef __DECCXX #ifdef __DECCXX
XDR::xdr_ops ops; XDR::xdr_ops ops;
#else #else
# if defined(sun)
struct xdr_ops ops; struct xdr_ops ops;
# else
struct XDR::xdr_ops ops;
# endif
#endif #endif
}; };