From 2b718becd2330c650e8ee639143647d59e76825f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 19 Jul 2014 18:29:06 +0200 Subject: [PATCH] Work around missing nice() on Haiku --- sim_console.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sim_console.c b/sim_console.c index d1bf515e..80b01cd7 100644 --- a/sim_console.c +++ b/sim_console.c @@ -126,6 +126,10 @@ #include "sim_serial.h" #include "sim_timer.h" #include + +#ifdef __HAIKU__ +#define nice(n) ({}) +#endif /* Forward Declaraations of Platform specific routines */