From db58b73d407dc4c88d32744789bb5374a37ddbe4 Mon Sep 17 00:00:00 2001 From: Dwayne Boone Date: Wed, 30 Aug 2006 19:24:39 +0000 Subject: Added Makefile support for MSVC++ --- cpp/src/Slice/RubyUtil.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cpp/src/Slice/RubyUtil.cpp') 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 #include +#ifdef __BCPLUSPLUS__ +#include +#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) { -- cgit v1.2.3