Allow to build as userland add-on.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5151 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Waldemar Kornewald 2003-10-24 21:28:10 +00:00
parent ad0928ebe3
commit 8f79376c49
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@
#ifdef _KERNEL_MODE
#define spawn_thread spawn_kernel_thread
#define printf dprintf
#else
#include <cstdio>
#endif

View File

@ -22,6 +22,8 @@
#ifdef _KERNEL_MODE
#define spawn_thread spawn_kernel_thread
#define printf dprintf
#else
#include <cstdio>
#endif