diff options
Diffstat (limited to 'cpukit/posix/src/prwlocktrywrlock.c')
-rw-r--r-- | cpukit/posix/src/prwlocktrywrlock.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/posix/src/prwlocktrywrlock.c b/cpukit/posix/src/prwlocktrywrlock.c index 861a448447..c6f3104457 100644 --- a/cpukit/posix/src/prwlocktrywrlock.c +++ b/cpukit/posix/src/prwlocktrywrlock.c @@ -1,7 +1,7 @@ /* * POSIX RWLock Manager -- Attempt to Obtain a Write Lock on a RWLock Instance * - * COPYRIGHT (c) 1989-2006. + * COPYRIGHT (c) 1989-2007. * On-Line Applications Research Corporation (OAR). * * The license and distribution terms for this file may be @@ -47,7 +47,9 @@ int pthread_rwlock_trywrlock( the_rwlock = _POSIX_RWLock_Get( rwlock, &location ); switch ( location ) { +#if defined(RTEMS_MULTIPROCESSING) case OBJECTS_REMOTE: +#endif case OBJECTS_ERROR: return EINVAL; |