From 63333232d606b4b1f92949f84d1ada3e605153bb Mon Sep 17 00:00:00 2001 From: Marc Laukien Date: Fri, 17 May 2002 18:47:46 +0000 Subject: dll export fix --- cpp/src/slice2cpp/Gen.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 6c246d63d50..c4db37cdebf 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -607,7 +607,7 @@ Slice::Gen::TypesVisitor::visitSequence(const SequencePtr& p) // TODO: ice_marshal/ice_unmarshal, __write/__read can be // moved into the helper. // - H << sp << nl << "class __U__" << name << " { };"; + H << sp << nl << "class " << _dllExport << "__U__" << name << " { };"; H << nl << _dllExport << "void __write(::IceInternal::BasicStream*, const " << name << "&, __U__" << name << ");"; H << nl << _dllExport << "void __read(::IceInternal::BasicStream*, " << name << "&, __U__" << name << ");"; @@ -740,7 +740,7 @@ Slice::Gen::TypesVisitor::visitDictionary(const DictionaryPtr& p) // TODO: ice_marshal/ice_unmarshal, __write/__read can be // moved into the helper. // - H << sp << nl << "class __U__" << name << " { };"; + H << sp << nl << "class " << _dllExport << "__U__" << name << " { };"; H << nl << _dllExport << "void __write(::IceInternal::BasicStream*, const " << name << "&, __U__" << name << ");"; H << nl << _dllExport << "void __read(::IceInternal::BasicStream*, " << name << "&, __U__" << name << ");"; -- cgit v1.2.3