diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-08-30 19:24:39 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-08-30 19:24:39 +0000 |
commit | db58b73d407dc4c88d32744789bb5374a37ddbe4 (patch) | |
tree | e02864d26cbcdb56f429febebd5038c68e28fed9 /cpp/src/Slice/RubyUtil.cpp | |
parent | Added missing dependencies on Ice and IceUtil to simpleC and simpleS. (diff) | |
download | ice-db58b73d407dc4c88d32744789bb5374a37ddbe4.tar.bz2 ice-db58b73d407dc4c88d32744789bb5374a37ddbe4.tar.xz ice-db58b73d407dc4c88d32744789bb5374a37ddbe4.zip |
Added Makefile support for MSVC++
Diffstat (limited to 'cpp/src/Slice/RubyUtil.cpp')
-rw-r--r-- | cpp/src/Slice/RubyUtil.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp index d9b4815b098..3eb6e2c43f3 100644 --- a/cpp/src/Slice/RubyUtil.cpp +++ b/cpp/src/Slice/RubyUtil.cpp @@ -11,6 +11,10 @@ #include <Slice/Checksum.h> #include <IceUtil/Functional.h> +#ifdef __BCPLUSPLUS__ +#include <iterator> +#endif + using namespace std; using namespace Slice; using namespace IceUtil; @@ -530,7 +534,7 @@ Slice::Ruby::CodeVisitor::visitClassDefStart(const ClassDefPtr& p) _out << nl << "end"; _classHistory.insert(scoped); // Avoid redundant declarations. - _out << sp << nl << "T_" << name << ".defineClass(" << (p->isInterface() ? "nil" : name) << ", " + _out << sp << nl << "T_" << name << ".defineClass(" << (p->isInterface() ? string("nil") : name) << ", " << (p->isAbstract() ? "true" : "false") << ", "; if(!base) { |