diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-07-05 13:24:52 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-07-05 13:24:52 +0000 |
commit | 86297e5091685fee49e6c624b59feb051e8924b5 (patch) | |
tree | 4207a496baf029717b328a7dd58e9e38a4576987 /cpp/src/slice2cppe/Gen.cpp | |
parent | Do not add ICEE_PURE_CLIENT around local interface definitions (diff) | |
download | ice-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.cpp | 4 |
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()) |