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:
@@ -18,6 +18,8 @@
|
|||||||
#ifdef _KERNEL_MODE
|
#ifdef _KERNEL_MODE
|
||||||
#define spawn_thread spawn_kernel_thread
|
#define spawn_thread spawn_kernel_thread
|
||||||
#define printf dprintf
|
#define printf dprintf
|
||||||
|
#else
|
||||||
|
#include <cstdio>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,8 @@
|
|||||||
#ifdef _KERNEL_MODE
|
#ifdef _KERNEL_MODE
|
||||||
#define spawn_thread spawn_kernel_thread
|
#define spawn_thread spawn_kernel_thread
|
||||||
#define printf dprintf
|
#define printf dprintf
|
||||||
|
#else
|
||||||
|
#include <cstdio>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user