diff options
Diffstat (limited to 'libthreads')
-rw-r--r-- | libthreads/rwlock.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libthreads/rwlock.h b/libthreads/rwlock.h index 44c1e0ec..7abbfff1 100644 --- a/libthreads/rwlock.h +++ b/libthreads/rwlock.h @@ -31,9 +31,14 @@ struct rwlock int readers_waiting; }; +#ifdef _RWLOCK_DEFINE_FUNCTIONS +#undef _EXTERN_INLINE +#define _EXTERN_INLINE +#else /* ! _RWLOCK_DEFINE_FUNCTIONS */ #ifndef _EXTERN_INLINE #define _EXTERN_INLINE extern __inline #endif +#endif /* _RWLOCK_DEFINE_FUNCTIONS */ /* Get a reader lock on reader-writer lock LOCK for disknode DN */ _EXTERN_INLINE void |