* Only build the gcc 2 compatibility symbols with gcc 2.

* Added gcc 4 _ReservedView11() compatibility symbol.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32132 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2009-08-05 14:26:47 +00:00
parent b7d46b7558
commit a826679822
+20
View File
@@ -5490,6 +5490,9 @@ BView::_SwitchServerCurrentView() const
}
#if __GNUC__ == 2
extern "C" void
_ReservedView1__5BView(BView* view, BRect rect)
{
@@ -5602,6 +5605,23 @@ _ReservedView11__5BView(BView* view, BPoint point, BToolTip** _toolTip)
}
#elif __GNUC__ > 2
extern "C" bool
_ZN5BView15_ReservedView11Ev(BView* view, BPoint point, BToolTip** _toolTip)
{
// GetToolTipAt()
perform_data_get_tool_tip_at data;
data.point = point;
data.tool_tip = _toolTip;
view->Perform(PERFORM_CODE_GET_TOOL_TIP_AT, &data);
return data.return_value;
}
#endif // __GNUC__ > 2
void BView::_ReservedView12() {}
void BView::_ReservedView13() {}
void BView::_ReservedView14() {}