From 6f7541fa5956928c2b8ec10aa075e2aac12c3235 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 21 Apr 2010 08:13:44 +0000 Subject: [PATCH] bsd is broken --- src/util/os_priority.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/util/os_priority.c b/src/util/os_priority.c index b0f2b3129..3b04555d1 100644 --- a/src/util/os_priority.c +++ b/src/util/os_priority.c @@ -118,7 +118,7 @@ GNUNET_OS_set_process_priority (pid_t proc, /* Set process priority */ #ifdef MINGW SetPriorityClass (GetCurrentProcess (), rprio); -#else +#elif LINUX if ( (0 == proc) || (proc == getpid () ) ) { @@ -144,6 +144,9 @@ GNUNET_OS_set_process_priority (pid_t proc, return GNUNET_SYSERR; } } +#else + GNUNET_log (GNUNET_ERROR_TYPE_DEBUG | GNUNET_ERROR_TYPE_BULK, + "Priority management not availabe for this platform\n"); #endif return GNUNET_OK; } -- 2.25.1