summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/pthreadsetschedparam.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/pthreadsetschedparam.c')
-rw-r--r--cpukit/posix/src/pthreadsetschedparam.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/posix/src/pthreadsetschedparam.c b/cpukit/posix/src/pthreadsetschedparam.c
index 63b45f8669..5b3e852541 100644
--- a/cpukit/posix/src/pthreadsetschedparam.c
+++ b/cpukit/posix/src/pthreadsetschedparam.c
@@ -86,8 +86,10 @@ int pthread_setschedparam(
the_thread = _POSIX_Threads_Get( thread, &location );
switch ( location ) {
- case OBJECTS_ERROR:
+#if defined(RTEMS_MULTIPROCESSING)
case OBJECTS_REMOTE:
+#endif
+ case OBJECTS_ERROR:
return ESRCH;
case OBJECTS_LOCAL:
api = the_thread->API_Extensions[ THREAD_API_POSIX ];