From 9897c640c52e778790711f85d929184bfc7fe284 Mon Sep 17 00:00:00 2001 From: Michi Henning Date: Mon, 18 Oct 2004 05:05:40 +0000 Subject: Fix to previous fix! :-( Bloody declspec directives, grrr... :-( --- 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 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 << ';'; -- cgit v1.2.3