USER == ! _KERNEL_MODE, right (!?).

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13845 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin 2005-07-28 23:25:41 +00:00
parent 99a77abfdf
commit 685645f9bc
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
// define the PANIC macro // define the PANIC macro
#ifndef PANIC #ifndef PANIC
# if USER # ifndef _KERNEL_MODE
# define PANIC(str) debugger(str) # define PANIC(str) debugger(str)
# else # else
# define PANIC(str) panic(str) # define PANIC(str) panic(str)
@ -422,7 +422,7 @@ KMessage::SendTo(port_id targetPort, int32 targetToken, KMessage* reply,
if (reply) { if (reply) {
// get our team // get our team
team_id ourTeam = B_SYSTEM_TEAM; team_id ourTeam = B_SYSTEM_TEAM;
#if USER #ifndef _KERNEL_MODE
if (targetTeam != B_SYSTEM_TEAM) { if (targetTeam != B_SYSTEM_TEAM) {
thread_info threadInfo; thread_info threadInfo;
error = get_thread_info(find_thread(NULL), &threadInfo); error = get_thread_info(find_thread(NULL), &threadInfo);