summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cppe/Gen.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-07-05 13:24:52 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-07-05 13:24:52 +0000
commit86297e5091685fee49e6c624b59feb051e8924b5 (patch)
tree4207a496baf029717b328a7dd58e9e38a4576987 /cpp/src/slice2cppe/Gen.cpp
parentDo not add ICEE_PURE_CLIENT around local interface definitions (diff)
downloadice-86297e5091685fee49e6c624b59feb051e8924b5.tar.bz2
ice-86297e5091685fee49e6c624b59feb051e8924b5.tar.xz
ice-86297e5091685fee49e6c624b59feb051e8924b5.zip
Do not include Object.h for pure client
Diffstat (limited to 'cpp/src/slice2cppe/Gen.cpp')
-rw-r--r--cpp/src/slice2cppe/Gen.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/slice2cppe/Gen.cpp b/cpp/src/slice2cppe/Gen.cpp
index b7ef56f7f29..58501535fd9 100644
--- a/cpp/src/slice2cppe/Gen.cpp
+++ b/cpp/src/slice2cppe/Gen.cpp
@@ -229,7 +229,9 @@ Slice::Gen::generate(const UnitPtr& p)
if(p->usesNonLocals())
{
C << "\n#include <IceE/BasicStream.h>";
- C << "\n#include <IceE/Object.h>";
+ C << "\n#ifndef ICEE_PURE_CLIENT";
+ C << "\n# include <IceE/Object.h>";
+ C << "\n#endif";
}
if(p->hasNonLocalExceptions())