summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-05-17 18:47:46 +0000
committerMarc Laukien <marc@zeroc.com>2002-05-17 18:47:46 +0000
commit63333232d606b4b1f92949f84d1ada3e605153bb (patch)
treea586b356aefe9f96df3ef21c002cbff3eeb1a238 /cpp/src/slice2cpp/Gen.cpp
parentmerging soname branch to add -soname to link stage for shared libs (diff)
downloadice-63333232d606b4b1f92949f84d1ada3e605153bb.tar.bz2
ice-63333232d606b4b1f92949f84d1ada3e605153bb.tar.xz
ice-63333232d606b4b1f92949f84d1ada3e605153bb.zip
dll export fix
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
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 << ");";