projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468d576
)
tt_xdr_utils.h: fix build error on linux/bsd introduced with illumos initial patch.
author
Jon Trulson
<jon@radscan.com>
Sat, 22 Mar 2014 22:54:24 +0000
(16:54 -0600)
committer
Jon Trulson
<jon@radscan.com>
Sat, 22 Mar 2014 22:54:24 +0000
(16:54 -0600)
The linux's and BSD's need the 'struct XDR::xdr_ops ops' declaration,
whereas I guess sun does not.
cde/lib/tt/lib/util/tt_xdr_utils.h
patch
|
blob
|
history
diff --git
a/cde/lib/tt/lib/util/tt_xdr_utils.h
b/cde/lib/tt/lib/util/tt_xdr_utils.h
index b450564fecc912d95b3981aff15c9066c02baf10..b61b7f1404fa069bc20c9610b206b4f51064deac 100644
(file)
--- a/
cde/lib/tt/lib/util/tt_xdr_utils.h
+++ b/
cde/lib/tt/lib/util/tt_xdr_utils.h
@@
-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
};