Added an ifdef around static variables, so we use beos ones when COMPILE_FOR_R5 is defined.

That makes testing TextView under beos possible, again.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9283 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2004-10-11 13:43:39 +00:00
parent d3ddbef95c
commit 2910a19bbf
1 changed files with 2 additions and 0 deletions

View File

@ -120,10 +120,12 @@ public:
}; };
#ifndef COMPILE_FOR_R5
// Initialized/finalized by init/fini_interface_kit // Initialized/finalized by init/fini_interface_kit
_BWidthBuffer_* BTextView::sWidths = NULL; _BWidthBuffer_* BTextView::sWidths = NULL;
sem_id BTextView::sWidthSem = B_BAD_SEM_ID; sem_id BTextView::sWidthSem = B_BAD_SEM_ID;
int32 BTextView::sWidthAtom = 0; int32 BTextView::sWidthAtom = 0;
#endif
static property_info static property_info