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:
parent
468d576030
commit
ddb4933039
1 changed files with 4 additions and 0 deletions
|
@ -55,7 +55,11 @@ class _Tt_xdr_size_stream : public _Tt_allocated {
|
|||
#ifdef __DECCXX
|
||||
XDR::xdr_ops ops;
|
||||
#else
|
||||
# if defined(sun)
|
||||
struct xdr_ops ops;
|
||||
# else
|
||||
struct XDR::xdr_ops ops;
|
||||
# endif
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue