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:
parent
5b78d36e23
commit
3bb07059a4
@ -1862,11 +1862,13 @@ BMessage::_SendMessage(port_id port, int32 token, bigtime_t timeout,
|
||||
buffer = (char *)header;
|
||||
size = sizeof(message_header);
|
||||
|
||||
#ifndef HAIKU_TARGET_PLATFORM_LIBBE_TEST
|
||||
port_info info;
|
||||
get_port_info(port, &info);
|
||||
void *address = NULL;
|
||||
_kern_transfer_area(header->shared_area, &address, B_ANY_ADDRESS,
|
||||
info.team);
|
||||
#endif
|
||||
} else {
|
||||
size = _NativeFlattenedSize();
|
||||
buffer = (char *)malloc(size);
|
||||
|
Loading…
Reference in New Issue
Block a user