Fixed the build for the libbe_test target.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16748 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-03-12 21:40:00 +00:00
parent 5b78d36e23
commit 3bb07059a4
1 changed files with 2 additions and 0 deletions

View File

@ -1862,11 +1862,13 @@ BMessage::_SendMessage(port_id port, int32 token, bigtime_t timeout,
buffer = (char *)header; buffer = (char *)header;
size = sizeof(message_header); size = sizeof(message_header);
#ifndef HAIKU_TARGET_PLATFORM_LIBBE_TEST
port_info info; port_info info;
get_port_info(port, &info); get_port_info(port, &info);
void *address = NULL; void *address = NULL;
_kern_transfer_area(header->shared_area, &address, B_ANY_ADDRESS, _kern_transfer_area(header->shared_area, &address, B_ANY_ADDRESS,
info.team); info.team);
#endif
} else { } else {
size = _NativeFlattenedSize(); size = _NativeFlattenedSize();
buffer = (char *)malloc(size); buffer = (char *)malloc(size);