Fixed the app_server build in the test environment.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15005 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-11-17 18:43:08 +00:00
parent 44906a1b98
commit 0e29f57a22
2 changed files with 7 additions and 0 deletions
src
servers/app
tests/servers/app

@ -114,7 +114,12 @@ InputServerStream::GetNextCursorPosition(BPoint &where)
return false;
}
#ifdef HAIKU_TARGET_PLATFORM_HAIKU
uint32 pos = atomic_get((int32*)&fCursorBuffer->pos);
#else
uint32 pos = fCursorBuffer->pos;
#endif
where.x = pos & 0xffff;
where.y = pos >> 16L;

@ -82,6 +82,8 @@ Server haiku_app_server :
PNGDump.cpp
RAMLinkMsgReader.cpp
MessageLooper.cpp
EventDispatcher.cpp
EventStream.cpp
# Manager Classes
BitmapManager.cpp