diff options
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index b3ee5c7a9ab..71fd669cfec 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -520,7 +520,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) } } - H << sp << nl << "struct __" << p->name() << "_init"; + H << sp << nl << "struct ICE_API __" << p->name() << "_init"; H << sb; H << nl << "__" << p->name() << "_init();"; H << eb << ';'; @@ -2274,7 +2274,7 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p) C << nl << "extern \"C\" { void " << initfuncname << "() {} }"; C << nl << "#endif"; - H << sp << nl << "struct __" << p->name() << "_init"; + H << sp << nl << "struct ICE_API __" << p->name() << "_init"; H << sb; H << nl << "__" << p->name() << "_init();"; H << eb << ';'; |