diff options
author | Michi Henning <michi@zeroc.com> | 2004-10-18 05:05:40 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2004-10-18 05:05:40 +0000 |
commit | 9897c640c52e778790711f85d929184bfc7fe284 (patch) | |
tree | 33e6b6ea212e1892d3c976a602b46f5cdf353850 /cpp/src/slice2cpp | |
parent | Fix to previous fix. (diff) | |
download | ice-9897c640c52e778790711f85d929184bfc7fe284.tar.bz2 ice-9897c640c52e778790711f85d929184bfc7fe284.tar.xz ice-9897c640c52e778790711f85d929184bfc7fe284.zip |
Fix to previous fix! :-( Bloody declspec directives, grrr... :-(
Diffstat (limited to 'cpp/src/slice2cpp')
-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 << ';'; |