From 125a4e9c3218f8eba66fb5edcb9cd72dc235c801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Fri, 2 Oct 2020 18:46:19 +0200 Subject: [PATCH] kernelland_emu: avoid dprintf conflict from stdio pretending to be in kernel mode Change-Id: Ib396f9aae0b6d8ebff0edc332a583c66c59f1067 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3283 Reviewed-by: Adrien Destugues --- src/tests/add-ons/kernel/kernelland_emu/debug.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/add-ons/kernel/kernelland_emu/debug.cpp b/src/tests/add-ons/kernel/kernelland_emu/debug.cpp index 9f20c658c0..cc0fd0596e 100644 --- a/src/tests/add-ons/kernel/kernelland_emu/debug.cpp +++ b/src/tests/add-ons/kernel/kernelland_emu/debug.cpp @@ -8,6 +8,7 @@ */ #include +#define _KERNEL_MODE #include #include #include